Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tail.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def follow(self, s=1):
Arguments:
s - Number of seconds to wait between each iteration; Defaults to 1. '''

with open(self.tailed_file) as file_:
with open(self.tailed_file, encoding='utf-8') as file_:
# Go to the end of file
file_.seek(0,2)
while True:
Expand Down