mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
linttttttt
This commit is contained in:
parent
63a2bab3cd
commit
60d4e89404
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ def vm_power(vmid, action):
|
||||||
vm = VM(vmid)
|
vm = VM(vmid)
|
||||||
vnc_token_key = f'vnc_token|{vmid}'
|
vnc_token_key = f'vnc_token|{vmid}'
|
||||||
# For deleting the token from redis later
|
# For deleting the token from redis later
|
||||||
try:
|
try:
|
||||||
vnc_token = redis_conn.get(vnc_token_key).decode('utf-8')
|
vnc_token = redis_conn.get(vnc_token_key).decode('utf-8')
|
||||||
except AttributeError as e:
|
except AttributeError as e:
|
||||||
print(f'Error: Could not get vnc_token:{e}')
|
print(f'Error: Could not get vnc_token:{e}')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue