Skip to content

Commit

Permalink
Merge pull request Devilstore#4 from bondlazy/master
Browse files Browse the repository at this point in the history
update checkin status
  • Loading branch information
Devilstore authored Sep 11, 2024
2 parents 16ccdc2 + 5231324 commit 62da474
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gladosCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install requests
- name: running checnIn
- name: running checkin
run: |
python checkin.py
env:
Expand Down
6 changes: 3 additions & 3 deletions checkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
leftdays = int(float(result['data']['leftDays']))
# 获取账号email
email = result['data']['email']

if status == "Checkin! Get 1 Day":
print(status)
if "Checkin!" in status:
success += 1
message_status = "签到成功,会员天数 + 1"
elif status == "Please Try Tomorrow":
elif status == "Checkin Repeats! Please Try Tomorrow":
message_status = "今日已签到"
else:
fail += 1
Expand Down

0 comments on commit 62da474

Please sign in to comment.