Skip to content

Commit

Permalink
rm line (#2545)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsleh authored Jan 29, 2025
1 parent 466526f commit ddb2b64
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions torchgeo/datasets/bigearthnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,10 +495,9 @@ def _download(self, url: str, filename: Path, md5: str) -> None:
filename: output filename to write downloaded file
md5: md5 of downloaded file
"""
if not os.path.exists(filename):
download_url(
url, self.root, filename=filename, md5=md5 if self.checksum else None
)
download_url(
url, self.root, filename=filename, md5=md5 if self.checksum else None
)

def _extract(self, filepath: Path) -> None:
"""Extract the dataset.
Expand Down

0 comments on commit ddb2b64

Please sign in to comment.