Skip to content

Commit 6570a06

Browse files
committed
Use unicode in os.path.abspath (https://bugs.python.org/issue17320)
1 parent b4645c9 commit 6570a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bitmessagemain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import os
1313
import sys
1414

15-
app_dir = os.path.dirname(os.path.abspath(__file__))
15+
app_dir = os.path.dirname(os.path.abspath(unicode(__file__)))
1616
os.chdir(app_dir)
1717
sys.path.insert(0, app_dir)
1818

0 commit comments

Comments
 (0)