fix UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 10: ordinal not in range(128) on plugin_loaded (ST2)
This commit is contained in:
parent
835c7db864
commit
b54e0e13f6
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ def find_python_in_folder(folder, headless=True):
|
||||||
if not retcode and pattern.search(output):
|
if not retcode and pattern.search(output):
|
||||||
return path
|
return path
|
||||||
except:
|
except:
|
||||||
log(DEBUG, u('Python Version Output: {0}').format(u(sys.exc_info()[1])))
|
log(DEBUG, u('Python Version Output: {0}').format(u(str(sys.exc_info()[1]))))
|
||||||
|
|
||||||
if headless:
|
if headless:
|
||||||
path = find_python_in_folder(folder, headless=False)
|
path = find_python_in_folder(folder, headless=False)
|
||||||
|
|
Loading…
Reference in a new issue