Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
2666w authored May 25, 2023
1 parent 47645a0 commit 393da29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
content = result['msg']
# 进行推送
if SCKEY != '':
push_url = 'https://sctapi.ftqq.com/{}.send?title=ikuu签到&text={}'.format(SCKEY, content)
push_url = 'https://sctapi.ftqq.com/{}.send?title=ikuu签到&desp={}'.format(SCKEY, content)
requests.post(url=push_url)
print('推送成功')
except:
content = '签到失败'
print(content)
if SCKEY != '':
push_url = 'https://sctapi.ftqq.com/{}.send?title=ikuu签到&text={}'.format(SCKEY, content)
push_url = 'https://sctapi.ftqq.com/{}.send?title=ikuu签到&desp={}'.format(SCKEY, content)
requests.post(url=push_url)

0 comments on commit 393da29

Please sign in to comment.