mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-15 02:39:29 -05:00
python3 compatibility + webapp to flask refactoring
This commit is contained in:
@@ -203,12 +203,12 @@ def all_character_cron(num):
|
|||||||
item=element.info.slots[slot]
|
item=element.info.slots[slot]
|
||||||
if item and not item.get("oo"):
|
if item and not item.get("oo"):
|
||||||
item["oo"]=element.info.name
|
item["oo"]=element.info.name
|
||||||
change=True
|
change=True
|
||||||
for i in xrange(len(gf(element,"items",[]))):
|
for i in xrange(len(gf(element,"items",[]))):
|
||||||
item=gf(element,"items",[])[i]
|
item=gf(element,"items",[])[i]
|
||||||
if item and not item.get("oo"):
|
if item and not item.get("oo"):
|
||||||
item["oo"]=element.info.name
|
item["oo"]=element.info.name
|
||||||
change=True
|
change=True
|
||||||
if change: element.put()
|
if change: element.put()
|
||||||
|
|
||||||
def all_cbackup_cron(num):
|
def all_cbackup_cron(num):
|
||||||
|
|||||||
+5
-1
@@ -1,4 +1,3 @@
|
|||||||
version: 4 #2-new UI | 3-new font dynamics | 4-python3
|
|
||||||
runtime: python312
|
runtime: python312
|
||||||
app_engine_apis: true
|
app_engine_apis: true
|
||||||
threadsafe: true
|
threadsafe: true
|
||||||
@@ -32,3 +31,8 @@ handlers:
|
|||||||
static_dir: js
|
static_dir: js
|
||||||
- url: .*
|
- url: .*
|
||||||
script: auto
|
script: auto
|
||||||
|
|
||||||
|
env_variables:
|
||||||
|
NDB_USE_CROSS_COMPATIBLE_PICKLE_PROTOCOL: True
|
||||||
|
MEMCACHE_USE_CROSS_COMPATIBLE_PROTOCOL: True
|
||||||
|
DEFERRED_USE_CROSS_COMPATIBLE_PICKLE_PROTOCOL: True
|
||||||
Reference in New Issue
Block a user