Skip to content

Commit 63b8703

Browse files
kroq-gar78aggFTW
authored andcommitted
Don't ask for write permissions during read (#374)
1 parent 15a198e commit 63b8703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hdijupyterutils/hdijupyterutils/filesystemreaderwriter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def ensure_file_exists(self):
2020

2121
def read_lines(self):
2222
if os.path.isfile(self.path):
23-
with open(self.path, "r+") as f:
23+
with open(self.path, "r") as f:
2424
return f.readlines()
2525
else:
2626
return ""

0 commit comments

Comments
 (0)