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

Refresh: Bugfix getting DATA_DIR

parent df421799
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ def test_random(task_commits: dict[str, str]): ...@@ -31,7 +31,7 @@ def test_random(task_commits: dict[str, str]):
return None return None
def run(): def run():
with open(os.path.join(DATA_DIR, "task_commits")) as f: with open(os.path.join(config.DATA_DIR, "task_commits")) as f:
json.dump(f, task_commits := refresh()) json.dump(f, task_commits := refresh())
test_random(task_commits) 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