diff --git a/crons.py b/crons.py index a49896b..0c6e630 100644 --- a/crons.py +++ b/crons.py @@ -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): diff --git a/python3/app.yaml b/python3/app.yaml index 2eb7c2b..dfbc6c1 100644 --- a/python3/app.yaml +++ b/python3/app.yaml @@ -1,4 +1,3 @@ -version: 4 #2-new UI | 3-new font dynamics | 4-python3 runtime: python312 app_engine_apis: true threadsafe: true @@ -32,3 +31,8 @@ handlers: static_dir: js - url: .* script: auto + +env_variables: + NDB_USE_CROSS_COMPATIBLE_PICKLE_PROTOCOL: True + MEMCACHE_USE_CROSS_COMPATIBLE_PROTOCOL: True + DEFERRED_USE_CROSS_COMPATIBLE_PICKLE_PROTOCOL: True \ No newline at end of file