Skip to content

Commit

Permalink
Merge pull request #141 from andreas-hackl/feature/corr_io_read
Browse files Browse the repository at this point in the history
removed unnecessary write mode
  • Loading branch information
lehner authored Dec 23, 2023
2 parents c19934c + 332b9b9 commit c5d55fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gpt/core/io/corr_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def count(fn):
class reader:
def __init__(self, fn):
self.tags = {}
f = open(fn, "r+b")
f = open(fn, "rb")
while True:
rd = f.read(4)
if len(rd) == 0:
Expand Down

0 comments on commit c5d55fb

Please sign in to comment.