mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-05 16:24:20 +01:00
Fix nasty bug that was preventing GUI from starting in 0.4.44
This commit is contained in:
parent
c802411f28
commit
b223fae171
1 changed files with 2 additions and 1 deletions
|
|
@ -93,9 +93,10 @@ def get_builtin_recipe(title):
|
|||
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…
Reference in a new issue