mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Prevent exception if removing from calibre a library that does not exist on the file system.
This commit is contained in:
parent
e0eaf64f13
commit
3bae54056f
@ -260,7 +260,8 @@ class ChooseLibraryAction(InterfaceAction):
|
||||
'The files remain on your computer, if you want '
|
||||
'to delete them, you will have to do so manually.') % loc,
|
||||
show=True)
|
||||
open_local_file(loc)
|
||||
if os.path.exists(loc):
|
||||
open_local_file(loc)
|
||||
|
||||
def backup_status(self, location):
|
||||
dirty_text = 'no'
|
||||
|
Loading…
x
Reference in New Issue
Block a user