8000 Merge pull request #124 from chfast/utf8 · samuelpiltch/codecov-python@3ad0858 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 17, 2018. It is now read-only.

Commit 3ad0858

Browse files
author
Steve Peak
authored
Merge pull request codecov#124 from chfast/utf8
Fix typo: utf8 -> utf-8
2 parents adc22c1 + 7ea843c commit 3ad0858

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codecov/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
r'(/build/lib)|'
4141
r'(/htmlcov)|'
4242
r'(/node_modules)|'
43-
r'(/\.yarn-cache)|'
43+
r'(/\.yarn-cache)|'
4444
r'(\.egg-info)|'
4545
r'(/\.git)|'
4646
r'(/\.hg)|'
@@ -139,7 +139,7 @@ def fopen(path):
139139
return f.read()
140140
else:
141141
try:
142-
with open(path, 'r', encoding='utf8') as f:
142+
with open(path, 'r', encoding='utf-8') as f:
143143
return f.read()
144144
except UnicodeDecodeError:
145145
with open(path, 'r', encoding='ISO-8859-1') as f:

0 commit comments

Comments
 (0)
0