1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Update change_level.py

Co-Authored-By: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
Kayou 2019-10-16 21:21:49 +09:00 committed by GitHub
parent fa66e7f629
commit 32f6a3b271
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ if __name__ == '__main__':
if app_list[app_id]["state"] == "working":
app_list[app_id]["level"] = int(level)
else:
elif "level" in app_list[app_id]:
print "Warning: app '%s' is currently not marked as working, the level is removed" % app_id
del app_list[app_id]["level"]