We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2939a commit 1c3dc77Copy full SHA for 1c3dc77
1 file changed
blurb/blurb.py
@@ -724,7 +724,7 @@ def chdir_to_repo_root():
724
def test_first_line(filename, test):
725
if not os.path.exists(filename):
726
return False
727
- with open(filename) as file:
+ with open(filename, encoding="utf-8") as file:
728
lines = file.read().split('\n')
729
if not (lines and test(lines[0])):
730
0 commit comments