mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 10:33:47 -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]
|
||||
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):
|
||||
|
||||
+5
-1
@@ -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
|
||||
Reference in New Issue
Block a user