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 4ddd1a3 commit 3add9ceCopy full SHA for 3add9ce
gitdb/db/ref.py
@@ -41,7 +41,7 @@ def _update_dbs_from_ref_file(self):
41
# try to get as many as possible, don't fail if some are unavailable
42
ref_paths = list()
43
try:
44
- with open(self._ref_file, 'r') as f:
+ with open(self._ref_file, 'r', encoding="utf-8") as f:
45
ref_paths = [l.strip() for l in f]
46
except (OSError, IOError):
47
pass
0 commit comments