Skip to content

Commit e7b6454

Browse files
committed
Fix bug where usps test weren't able to download usps data
1 parent b693919 commit e7b6454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CollaborativeCoding/dataloaders/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def already_downloaded(path):
130130
url_test, _, test_md5 = USPS_SOURCE["test"]
131131

132132
# Using temporary directory ensures temporary files are deleted after use
133-
with TemporaryDirectory() as tmp_dir:
133+
with TemporaryDirectory(dir=data_dir) as tmp_dir:
134134
train_path = Path(tmp_dir) / "train"
135135
test_path = Path(tmp_dir) / "test"
136136

0 commit comments

Comments
 (0)