Skip to content

Commit d98cde5

Browse files
authored
Merge pull request #71 from sudobash1/fix-init-gs-path
Fix determining gs_path on Linux. Fixes #66
2 parents 0cf8b81 + 464cef8 commit d98cde5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easy_abc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8371,7 +8371,7 @@ def restore_settings(self):
83718371
elif wx.Platform == '__WXGTK__':
83728372
try:
83738373
gs_path = subprocess.check_output(["which", "gs"])
8374-
settings['gs_path'] = unicode(gs_path[0:-1])
8374+
settings['gs_path'] = gs_path[0:-1].decode()
83758375
except:
83768376
settings['gs_path'] = ''
83778377
#1.3.6.1 [SS] 2014-01-13

0 commit comments

Comments
 (0)