Skip to content

Commit

Permalink
Fix type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Sep 29, 2023
1 parent d391079 commit 66f2f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/datasets/geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def files(self) -> set[str]:
"""
# Make iterable
if isinstance(self.paths, str):
paths = [self.paths]
paths: Iterable[str] = [self.paths]
else:
paths = self.paths

Expand Down

0 comments on commit 66f2f02

Please sign in to comment.