added reset button and fixed javascript bugs
This commit is contained in:
@@ -345,7 +345,7 @@ def updateWeather(api_key):
|
||||
|
||||
all_current_settings['locations'] = current_weathers
|
||||
all_daily_settings['locations'] = daily_weathers
|
||||
|
||||
print(all_current_settings, all_daily_settings)
|
||||
json.dump( all_current_settings, open( "csv/current_weather.json", 'w+' ))
|
||||
json.dump( all_daily_settings, open( "csv/daily_weather.json", 'w+' ))
|
||||
|
||||
@@ -611,7 +611,7 @@ if __name__ == '__main__':
|
||||
last_updates = {"stocks": "27/06/2021 07:05:39", "crypto": "27/06/2021 07:05:39", "news": "27/06/2021 07:05:39", "weather": "27/06/2021 07:05:39", "forex": "27/06/2021 07:05:39", "sports": "27/06/2021 07:05:39"}
|
||||
|
||||
t = time.time()
|
||||
|
||||
|
||||
try:
|
||||
while True:
|
||||
|
||||
|
Reference in New Issue
Block a user