大佬您好,使用中有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)
大佬您好,使用中有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)