Skip to content

Commit 760114d

Browse files
committed
TR updates, first round
1 parent 35855af commit 760114d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python-while-loop/check_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
time.sleep(1)
1111

1212
print(f"{filename} found! Proceeding with processing.")
13-
with open(filename) as file:
13+
with open(filename, mode="r") as file:
1414
print("File contents:")
1515
print(file.read())

0 commit comments

Comments
 (0)