fix bug
This commit is contained in:
parent
a8c0047bf4
commit
3e2c4276ba
@ -245,13 +245,11 @@ CCID:{ccid.decode()}
|
||||
clents = ' \n'+'\r\n'.join(od) if len(od) else ""
|
||||
t=f"在线终端已更新,数量{len(od)}。{clents}"
|
||||
logger.info(t)
|
||||
cnt[0] += 1
|
||||
# cnt[0]是一个列表,它的默认值只会在函数定义时初始化一次,因此它的值在多次调用时保持不变
|
||||
# cnt[0]为1或为10的倍数
|
||||
if cnt[0] == 1 or cnt[0]%10 == 0:
|
||||
cnt[0] = 0
|
||||
# cnt[0]为10的倍数
|
||||
if cnt[0]%10 == 0:
|
||||
s2wx("","",t)
|
||||
|
||||
cnt[0] += 1
|
||||
|
||||
def get_addr(ccid):
|
||||
"""获取ccid对应的地址"""
|
||||
|
Loading…
Reference in New Issue
Block a user