Some PEP-8

This commit is contained in:
Lulzette 2022-04-09 00:44:59 +03:00
parent 202ab2e2d3
commit 56780a615c
2 changed files with 12 additions and 1 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.idea
__pycache__
venv

View File

@ -276,7 +276,15 @@ def vds_list():
state = typer.style('Stopped', fg=typer.colors.RED) state = typer.style('Stopped', fg=typer.colors.RED)
else: else:
state = i['status'] state = i['status']
x.add_row([i['id'], state, i['name'], i['ip'], i['configuration']['cpu'], i['configuration']['ram'], i['configuration']['disk_size']]) x.add_row([
i['id'],
state,
i['name'],
i['ip'],
i['configuration']['cpu'],
i['configuration']['ram'],
i['configuration']['disk_size']
])
print(x) print(x)