mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-18 19:02:58 +02:00
...
This commit is contained in:
parent
8ce199cd6b
commit
0f3138bbdb
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ def parse_string(self, src):
|
|||
try:
|
||||
if not isinstance(src, unicode):
|
||||
src = src.decode('utf-8')
|
||||
src = src.replace(u'PyQt4.QtCore', u'PyQt5.QtCore')
|
||||
src = src.replace(u'PyQt%d.QtCore' % 4, u'PyQt5.QtCore')
|
||||
exec src in options
|
||||
except:
|
||||
print 'Failed to parse options string:'
|
||||
|
|
|
|||
Loading…
Reference in a new issue