Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bark配置无法使用 #53

Open
s1sunny opened this issue Sep 18, 2021 · 0 comments
Open

bark配置无法使用 #53

s1sunny opened this issue Sep 18, 2021 · 0 comments

Comments

@s1sunny
Copy link

s1sunny commented Sep 18, 2021

大佬您好,使用中有2个问题。bark的配置是不是每个账号都要填写?
配置了bark,但没有通知。有如下报错。
Traceback (most recent call last):
File "/UnicomTask/index.py", line 68, in
main_handler("","")
File "/UnicomTask/index.py", line 64, in main_handler
sendNotice(user)
File "/UnicomTask/index.py", line 50, in sendNotice
notify.sendBark(user['Bark'])
File "/UnicomTask/notify.py", line 237, in sendBark
state=json.loads(resp.text)
File "/usr/local/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant