Skip to content

Commit

Permalink
Fix Windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Feb 27, 2022
1 parent 51a9c61 commit 387d53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/datasets/openbuildings.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def __init__(
] # get csv filename

polygon_files = glob.glob(os.path.join(self.root, self.zipfile_glob))
polygon_filenames = [f.split("/")[-1] for f in polygon_files]
polygon_filenames = [f.split(os.sep)[-1] for f in polygon_files]

matched_features = [
feature
Expand Down

0 comments on commit 387d53c

Please sign in to comment.