This commit is contained in:
Kovid Goyal 2017-04-16 20:00:50 +05:30
parent 40b51ee2f4
commit e8597872b2

View File

@ -93,7 +93,7 @@ class ChooseLibrary(QDialog, Ui_Dialog):
aloc = os.path.normcase(os.path.abspath(loc)) aloc = os.path.normcase(os.path.abspath(loc))
if (aloc.startswith(cal+os.sep) or aloc == cal): if (aloc.startswith(cal+os.sep) or aloc == cal):
error_dialog(self, _('Bad location'), error_dialog(self, _('Bad location'),
_('You should not create a library inside the Calibre' _('You should not create a library inside the calibre'
' folder as this folder is automatically deleted during upgrades.'), ' folder as this folder is automatically deleted during upgrades.'),
show=True) show=True)
return False return False