update pixiv
This commit is contained in:
parent
902c0b27de
commit
44a5f1ecba
1 changed files with 3 additions and 3 deletions
|
@ -14,15 +14,15 @@ class Ans(StdAns):
|
||||||
return '我已知晓你希望 inx 停止.'
|
return '我已知晓你希望 inx 停止.'
|
||||||
if cmd == 'start':
|
if cmd == 'start':
|
||||||
self.DATASET({'status':'1'})
|
self.DATASET({'status':'1'})
|
||||||
# self.sendmsg('inx 启动!')
|
self.sendmsg('inx 启动!')
|
||||||
pinx = 0
|
pinx = 0
|
||||||
pixic = 0
|
pixic = 0
|
||||||
pdji = 0
|
pdji = 0
|
||||||
while(self.DATAGET()['status'] == '1'):
|
while(self.DATAGET()['status'] == '1'):
|
||||||
inx, ixic, dji = getMG()
|
inx, ixic, dji = getMG()
|
||||||
msg = '标普 500 : ' + inx + ' ' + emoji(pinx,inx) + '纳斯达克 : ' + ixic + ' ' + emoji(pixic,ixic) + '道琼斯指数: ' + dji + ' ' + emoji(pdji,dji)
|
msg = '标普 500 : ' + inx + ' ' + emoji(pinx,inx) + '纳斯达克 : ' + ixic + ' ' + emoji(pixic,ixic) + '道琼斯指数: ' + dji + ' ' + emoji(pdji,dji)
|
||||||
# self.sendmsg(msg)
|
self.sendmsg(msg)
|
||||||
print(msg)
|
# print(msg)
|
||||||
pinx = inx
|
pinx = inx
|
||||||
pixic = ixic
|
pixic = ixic
|
||||||
pdji = dji
|
pdji = dji
|
||||||
|
|
Loading…
Reference in a new issue