提交 80ce7c7b 编写于 作者: C cycz

fix bug

上级 2fdf0290
......@@ -32,7 +32,7 @@ url = [
'''
备用
'''
timesleep = random.randint(3, 8)
# eid
eid = ''
......@@ -462,6 +462,7 @@ while (1):
sendMail(mail,skuidUrl, False)
else:
logger.info('[%s]类型口罩有货,但已下柜商品', skuId)
timesleep = random.randint(3, 8)
time.sleep(timesleep)
if flag % 20 == 0:
logger.info('校验是否还在登录')
......
......@@ -33,7 +33,6 @@ if len(skuids[0]) == 0:
'''
备用
'''
timesleep = random.randint(5, 15) / 10
# eid
eid = global_config.getRaw('config', 'eid')
fp = global_config.getRaw('config', 'fp')
......@@ -493,7 +492,7 @@ while (1):
sendMail(mail, skuidUrl, False)
else:
logger.info('[%s]类型口罩有货,但已下柜商品', skuId)
timesleep = random.randint(5, 15) / 10
time.sleep(timesleep)
if flag % 20 == 0:
logger.info('校验是否还在登录')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册