mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix nasty bug that was preventing GUI from starting in 0.4.44
This commit is contained in:
parent
c802411f28
commit
b223fae171
@ -93,9 +93,10 @@ _titles.sort()
|
||||
titles = _titles
|
||||
|
||||
def migrate_automatic_profile_to_automatic_recipe(profile):
|
||||
oprofile = profile
|
||||
profile = compile_recipe(profile)
|
||||
if 'BasicUserProfile' not in profile.__name__:
|
||||
return profile
|
||||
return oprofile
|
||||
return '''\
|
||||
class BasicUserRecipe%d(AutomaticNewsRecipe):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user