mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
40b51ee2f4
commit
e8597872b2
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user