Skip to content
Snippets Groups Projects
Commit 37256401 authored by Daniel Skýpala's avatar Daniel Skýpala
Browse files

Refresh: Bugfix

parent 50ac96f1
Branches
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ def test_random(task_commits: dict[str, str]):
return None
def run():
with open(os.path.join(config.DATA_DIR, "task_commits")) as f:
with open(os.path.join(config.DATA_DIR, "task_commits"), "w") as f:
json.dump(f, task_commits := refresh())
test_random(task_commits)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment