-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi guys, when I run python3.6 bot.py, an error occurs. the conf.json file has been configured.
Traceback (most recent call last):
File "bot.py", line 3, in
from utils import output, parsing, checks, mysql_module, g
File "/root/TipBot_Github/Helix-tip-bot/utils/output.py", line 8, in
config = parsing.parse_json('config.json')["logging"]
File "/root/TipBot_Github/Helix-tip-bot/utils/parsing.py", line 13, in parse_json
contents = json.loads(content)
File "/usr/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 30 column 22 (char 836)
Can someone help me? I'm looking forward to testing this bot.