mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-02-12 13:01:51 +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)
|
||||
vnc_token_key = f'vnc_token|{vmid}'
|
||||
# For deleting the token from redis later
|
||||
try:
|
||||
try:
|
||||
vnc_token = redis_conn.get(vnc_token_key).decode('utf-8')
|
||||
except AttributeError as e:
|
||||
print(f'Error: Could not get vnc_token:{e}')
|
||||
|
|
Loading…
Reference in a new issue