python3 compatibility + webapp to flask refactoring

This commit is contained in:
Kaan Soral
2024-01-27 21:17:54 +03:00
parent d7c7fee91c
commit 915613b07e
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -203,12 +203,12 @@ def all_character_cron(num):
item=element.info.slots[slot]
if item and not item.get("oo"):
item["oo"]=element.info.name
change=True
change=True
for i in xrange(len(gf(element,"items",[]))):
item=gf(element,"items",[])[i]
if item and not item.get("oo"):
item["oo"]=element.info.name
change=True
change=True
if change: element.put()
def all_cbackup_cron(num):