update manage.py

This commit is contained in:
TooY 2023-04-17 10:14:22 +08:00
parent 50fa9eb9f2
commit 9b2dd86e1c

View file

@ -342,8 +342,9 @@ def check_if_official_app(var_path):
try:
cpu = requirements['cpu']
mem = requirements['memory']
disk = requirements['disk']
return True
except:
except KeyError:
return False
else:
return False