mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Enforce unicode because of Python 2
This commit is contained in:
@@ -285,7 +285,7 @@ class Importer(object):
|
|||||||
# somewhere out of the filesystem.
|
# somewhere out of the filesystem.
|
||||||
self._inference_possible = False
|
self._inference_possible = False
|
||||||
else:
|
else:
|
||||||
self._fixed_sys_path = [base_directory]
|
self._fixed_sys_path = [force_unicode(base_directory)]
|
||||||
|
|
||||||
if base_import_path is None:
|
if base_import_path is None:
|
||||||
if import_path:
|
if import_path:
|
||||||
|
|||||||
Reference in New Issue
Block a user