setup config files script
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ def updateCrypto():
|
|||||||
#coin_list = coingecko_client.get_coins_list()
|
#coin_list = coingecko_client.get_coins_list()
|
||||||
#json.dump(coin_list, open('csv/coin_list.json', 'w+'))
|
#json.dump(coin_list, open('csv/coin_list.json', 'w+'))
|
||||||
|
|
||||||
f = open('csv/coin_list.json', 'r')
|
f = open('coin_list.json', 'r')
|
||||||
coin_list = json.load(f)
|
coin_list = json.load(f)
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +0,0 @@
|
|||||||
list index out of range. file: stockTicker.py. line: 2459. type: <class 'IndexError'>
|
|
||||||
Traceback (most recent call last):
|
|
||||||
File "stockTicker.py", line 2459, in <module>
|
|
||||||
stock_ticker = StockTicker()
|
|
||||||
File "stockTicker.py", line 50, in __init__
|
|
||||||
line = settings.readlines()[1]
|
|
||||||
IndexError: list index out of range
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
sudo ./setup_config_files.sh
|
||||||
sudo apt-get install python3-pip
|
sudo apt-get install python3-pip
|
||||||
pip3 install finnhub-python
|
pip3 install finnhub-python
|
||||||
pip3 install flask
|
pip3 install flask
|
||||||
@@ -26,3 +27,5 @@ sudo apt-get remove bluez bluez-firmware pi-bluetooth triggerhappy pigpio
|
|||||||
sudo apt autoremove
|
sudo apt autoremove
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Regular → Executable
+41
-9
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user