Unverified Commit dd8d3529 authored by Leo Gao's avatar Leo Gao Committed by GitHub
Browse files

Fix first-run error

parent ab0e4d26
...@@ -23,7 +23,7 @@ class WordUnscrambleTask(Task): ...@@ -23,7 +23,7 @@ class WordUnscrambleTask(Task):
def download(self): def download(self):
if not self.BASE_PATH.exists(): if not self.BASE_PATH.exists():
Path.mkdir(self.BASE_PATH) Path.mkdir(self.BASE_PATH, parents=True)
file = self.BASE_PATH / self.FILENAME file = self.BASE_PATH / self.FILENAME
if not file.exists(): if not file.exists():
rawfile = file.parent / (file.name + ".gz") rawfile = file.parent / (file.name + ".gz")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment