linttttttt

This commit is contained in:
Will Nilges 2022-08-25 23:46:22 -04:00
parent 63a2bab3cd
commit 60d4e89404

View file

@ -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}')