Skip to content

Commit

Permalink
Fixed mypy errors in cdl.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitesh Tolani committed Jul 14, 2024
1 parent 6945fca commit 76a95f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/datasets/cdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def _extract(self) -> None:
for year in self.years:
zipfile_name = self.zipfile_glob.replace('*', str(year))
pathname = os.path.join(self.paths, zipfile_name)
extract_archive(pathname, self.paths)
extract_archive(pathname, str(self.paths))

def plot(
self,
Expand Down

0 comments on commit 76a95f1

Please sign in to comment.