mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix a regression that broke moving libraries in 1.0
Fixes #1216401 [calibre, version 1.0.0 'function' object has no attribute 'exists_at'](https://bugs.launchpad.net/calibre/+bug/1216401)
This commit is contained in:
parent
91755ac202
commit
be776e5900
@ -142,7 +142,7 @@ class MovedDialog(QDialog): # {{{
|
||||
|
||||
def accept(self):
|
||||
newloc = unicode(self.loc.text())
|
||||
if not db_class.exists_at(newloc):
|
||||
if not db_class().exists_at(newloc):
|
||||
error_dialog(self, _('No library found'),
|
||||
_('No existing calibre library found at %s')%newloc,
|
||||
show=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user