mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #6420 (Changing / creating libraries no longer possible in 0.7.13)
This commit is contained in:
parent
bd3048f3ab
commit
b6e95c9219
@ -79,7 +79,7 @@ class ChooseLibrary(QDialog, Ui_Dialog):
|
|||||||
if not text:
|
if not text:
|
||||||
return error_dialog(self, _('No location'), _('No location selected'),
|
return error_dialog(self, _('No location'), _('No location selected'),
|
||||||
show=True)
|
show=True)
|
||||||
loc = os.path.abspath()
|
loc = os.path.abspath(text)
|
||||||
if not loc or not os.path.exists(loc) or not self.check_action(action,
|
if not loc or not os.path.exists(loc) or not self.check_action(action,
|
||||||
loc):
|
loc):
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user