Skip to content

Commit 8f29274

Browse files
authored
Add files via upload
1 parent bcbeabb commit 8f29274

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

fmz.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,11 @@ def toObj(self):
542542
for k, t in self._fields_:
543543
if k[0].isupper():
544544
v = getattr(self, k)
545+
if k == 'Info' and hasattr(v, 's_js'):
546+
if v.s_js_size > 0:
547+
v = json.loads(v.s_js[:v.s_js_size])
548+
else:
549+
v = None
545550
if isinstance(v, bytes):
546551
v = v.decode()
547552
obj[k] = v
@@ -1453,7 +1458,7 @@ def __init__(self, task = None, autoRun=False, gApis = None, progressCallback=No
14531458
js = os.path.join(tmpCache, crcFile)
14541459
if os.path.exists(js):
14551460
b = open(js, 'rb').read()
1456-
if os.getenv("BOTVS_TASK_UUID") is None or "bc7a3d091b1e7642c23723020c819218" in str(b):
1461+
if os.getenv("BOTVS_TASK_UUID") is None or "cc7f7f0e687fb7317862170955d99a58" in str(b):
14571462
hdic = json_loads(b)
14581463
loader = os.path.join(tmpCache, soName)
14591464
update = False

0 commit comments

Comments
 (0)