Skip to content

Commit 170a804

Browse files
committed
Remove data_dir argument.
1 parent 9e53422 commit 170a804

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

bin/download_data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ def extract_zip(zip_path: Path, extract_to: Path) -> bool:
6363
return False
6464

6565

66-
async def download_all_files(data_dir: Path = Path('data')) -> bool:
66+
async def download_all_files() -> bool:
6767
"""Download all required data files."""
6868

69-
# Create data directory
69+
data_dir = Path('data')
7070
data_dir.mkdir(exist_ok=True)
71-
print(f'Using data directory: {data_dir.absolute()}')
71+
print(f'Downloading data to: {data_dir.absolute()}')
7272

7373
success_count = 0
7474

@@ -115,7 +115,7 @@ async def download_all_files(data_dir: Path = Path('data')) -> bool:
115115

116116
def main():
117117
try:
118-
success = asyncio.run(download_all_files(Path('data')))
118+
success = asyncio.run(download_all_files())
119119
sys.exit(0 if success else 1)
120120
except KeyboardInterrupt:
121121
sys.exit('\n✗ Download interrupted by user')

0 commit comments

Comments
 (0)