There was an error while loading. Please reload this page.
1 parent 9f023f3 commit cd4eab7Copy full SHA for cd4eab7
pythonFiles/jedi/api/__init__.py
@@ -90,7 +90,7 @@ def __init__(self, source=None, line=None, column=None, path=None,
90
try:
91
with open(path) as f:
92
source = f.read()
93
- except:
+ except UnicodeDecodeError:
94
with open(path, encoding=encoding) as f:
95
96
0 commit comments