Skip to content

Commit

Permalink
Merge pull request #123 from herophilus/main
Browse files Browse the repository at this point in the history
removes os.sep from index file path
  • Loading branch information
henrypinkard authored Aug 1, 2023
2 parents aa0ced2 + a614910 commit f1a7ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ndtiff/nd_tiff_current.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def _read_single_index_entry(self, data, entries, position=0):

def read_index(self, path):
print("\rReading index... ", end="")
with self.file_io.open(path + os.sep + "NDTiff.index", "rb") as index_file:
with self.file_io.open(path + "NDTiff.index", "rb") as index_file:
data = index_file.read()
entries = {}
position = 0
Expand Down

0 comments on commit f1a7ab8

Please sign in to comment.