diff --git a/display_images/Crypto.ppm b/display_images/Crypto.ppm index fcdf9be..fc72427 100755 Binary files a/display_images/Crypto.ppm and b/display_images/Crypto.ppm differ diff --git a/display_images/Forex.ppm b/display_images/Forex.ppm index adfdbc0..8c672b4 100755 Binary files a/display_images/Forex.ppm and b/display_images/Forex.ppm differ diff --git a/log.txt b/log.txt index e69de29..72cbb6b 100755 --- a/log.txt +++ b/log.txt @@ -0,0 +1,15 @@ +Expecting value: line 1 column 1 (char 0). file: api_caller.py. line: 658. type: + Traceback (most recent call last): + File "api_caller.py", line 658, in + if checkStocks(stock_time, stock_frequency) or msg == 's': + File "api_caller.py", line 571, in checkStocks + all_stocks_settings = json.load(f) + File "/usr/lib/python3.7/json/__init__.py", line 296, in load + parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw) + File "/usr/lib/python3.7/json/__init__.py", line 348, in loads + return _default_decoder.decode(s) + File "/usr/lib/python3.7/json/decoder.py", line 337, in decode + obj, end = self.raw_decode(s, idx=_w(s, 0).end()) + File "/usr/lib/python3.7/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) diff --git a/setup_config_files.sh b/setup_config_files.sh index 94525c7..f495b77 100755 --- a/setup_config_files.sh +++ b/setup_config_files.sh @@ -71,3 +71,7 @@ echo [] >> live_games.json echo [] >> past_games.json echo [] >> team_info.csv echo [] >> team_stats.json + +cd ../../.. +sudo chmod -R ugo+rwx csv + diff --git a/startup.sh b/startup.sh index 00a4cfe..c5cc6a8 100755 --- a/startup.sh +++ b/startup.sh @@ -1,3 +1,3 @@ #!/bin/sh cd /home/pi/fintic -python3 server.py +sudo -E python3 server.py diff --git a/templates/index.html b/templates/index.html index f52e01b..23816f1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,7 +3,7 @@ - Web Server + Fintic