Skip to content

Commit fe76729

Browse files
committed
Merge
2 parents cc6e707 + c6de213 commit fe76729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def get_history(token):
3131
def get_new_items(items):
3232

3333
def _read():
34-
with open("history.json", "r") as file_data:
34+
with open("/tmp/history.json", "r") as file_data:
3535
parsed_data = json.load(file_data)
3636
return parsed_data["history"], int(parsed_data["last_id"])
3737

@@ -45,7 +45,7 @@ def _write(history):
4545
"last_id": last_id,
4646
"history": history
4747
}
48-
with open("history.json", "w") as file_data:
48+
with open("/tmp/history.json", "w") as file_data:
4949
json.dump(output_data, file_data)
5050

5151
try:

0 commit comments

Comments
 (0)