Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhonghuaifang committed Feb 7, 2023
1 parent c5afa3e commit 797a2b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions function/bika/bika.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def profile(token: string):

profile_msg = ''
profile_response = profile(current_token)
print(profile_response)
if profile_response["code"] == "200":
profile_result = profile_response["data"]["user"]
profile_msg = (
Expand Down
1 change: 0 additions & 1 deletion function/bika/sendNotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ def go_cqhttp(self, title, content):
url = f'{sendNotify.GOBOT_URL}?access_token={sendNotify.GOBOT_TOKEN}&group_id={sendNotify.GOBOT_QQ}&message=标题:{title}\n内容:{content}'
else:
url = f'{sendNotify.GOBOT_URL}?access_token={sendNotify.GOBOT_TOKEN}&user_id={sendNotify.GOBOT_QQ}&message=标题:{title}\n内容:{content}'
print(url)
try:
response = requests.get(url, timeout=15)
try:
Expand Down

0 comments on commit 797a2b0

Please sign in to comment.