From 76a95f152f997ca4626edddb2040217085cbdf17 Mon Sep 17 00:00:00 2001 From: Hitesh Tolani Date: Sun, 14 Jul 2024 17:51:49 +0530 Subject: [PATCH] Fixed mypy errors in ``cdl.py`` --- torchgeo/datasets/cdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchgeo/datasets/cdl.py b/torchgeo/datasets/cdl.py index 25e42d2b030..49764c6d2fe 100644 --- a/torchgeo/datasets/cdl.py +++ b/torchgeo/datasets/cdl.py @@ -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,