forked from VimPlug/jedi
Implement all remaining Path issues and use it instead of strings
This commit is contained in:
@@ -20,7 +20,7 @@ def cast_path(string):
|
||||
"""
|
||||
if isinstance(string, bytes):
|
||||
return str(string, encoding='UTF-8', errors='replace')
|
||||
return string
|
||||
return str(string)
|
||||
|
||||
|
||||
def pickle_load(file):
|
||||
|
||||
Reference in New Issue
Block a user