Use unicode in os.path.abspath (https://bugs.python.org/issue17320)
This commit is contained in:
parent
b4645c9823
commit
6570a06dc7
|
@ -12,7 +12,7 @@ The PyBitmessage startup script
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
app_dir = os.path.dirname(os.path.abspath(__file__))
|
app_dir = os.path.dirname(os.path.abspath(unicode(__file__)))
|
||||||
os.chdir(app_dir)
|
os.chdir(app_dir)
|
||||||
sys.path.insert(0, app_dir)
|
sys.path.insert(0, app_dir)
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user