diff --git a/force_fetch.py b/force_fetch.py new file mode 100644 index 0000000..8d7863e --- /dev/null +++ b/force_fetch.py @@ -0,0 +1,14 @@ +import json + +try: + f = open('csv/last_updates.json', 'r') + last_updates = json.load(f) + f.close() + last_updates['stocks']['force'] = True + #last_updates['weather']['force'] = True + f = open('csv/last_updates.json', 'w') + json.dump(last_updates, f) + f.close() + +except: + pass \ No newline at end of file