Skip to content

Commit 984b6b2

Browse files
authored
Add files via upload
1 parent 4756d4a commit 984b6b2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

fmz.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def getCacheDir():
100100
return tmpCache
101101

102102
def httpGet(url):
103+
print(url)
103104
req = urllib2.Request(url)
104105
req.add_header('Accept-Encoding', 'gzip, deflate')
105106
resp = urllib2.urlopen(req)
@@ -1426,7 +1427,7 @@ def __init__(self, task = None, autoRun=False, gApis = None, progressCallback=No
14261427
js = os.path.join(tmpCache, crcFile)
14271428
if os.path.exists(js):
14281429
b = open(js, 'rb').read()
1429-
if os.getenv("BOTVS_TASK_UUID") is None or "2df15a2ebab9de388fd876ce12e5c2f1" in str(b):
1430+
if os.getenv("BOTVS_TASK_UUID") is None or "4968fee289f3e793110db9f76d6abc0c" in str(b):
14301431
hdic = json_loads(b)
14311432
loader = os.path.join(tmpCache, soName)
14321433
update = False
@@ -1604,6 +1605,9 @@ def g_MD5(self, s):
16041605
def g_HttpQuery(self, *args):
16051606
return 'dummy'
16061607

1608+
def g_HttpQuery_Go(self, *args):
1609+
return AsyncRet('dummy')
1610+
16071611
def g_JSONParse(self, s):
16081612
return json.loads(s)
16091613

@@ -1632,7 +1636,7 @@ def g_Mail(self, *args):
16321636
return True
16331637

16341638
def g_Mail_Go(self, *args):
1635-
return True
1639+
return AsyncRet(True)
16361640

16371641
def g_GetCommand(self):
16381642
return ''

0 commit comments

Comments
 (0)