Use unicode in os.path.abspath (https://bugs.python.org/issue17320)

This commit is contained in:
Dmitri Bogomolov 2020-04-24 16:30:35 +03:00
parent b4645c9823
commit 6570a06dc7
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -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)