mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Pull from trunk
This commit is contained in:
commit
290dd86177
@ -23,7 +23,7 @@
|
||||
|
||||
- title: "Allow editing of tweaks via Preferences->Advanced"
|
||||
|
||||
- title: "Add button to manage authors dialog to automatically reset all author sort values"
|
||||
- title: "Add button to the manage authors dialog to automatically reset all author sort values"
|
||||
|
||||
bug fixes:
|
||||
- title: "Fix regression in 0.7.13 that broke changing libraries"
|
||||
|
@ -5,7 +5,6 @@ __copyright__ = '2009-2010, Darko Miletic <darko.miletic at gmail.com>'
|
||||
www.esquire.com
|
||||
'''
|
||||
|
||||
from calibre import strftime
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
class Esquire(BasicNewsRecipe):
|
||||
|
@ -80,8 +80,10 @@ class ChooseLibrary(QDialog, Ui_Dialog):
|
||||
return error_dialog(self, _('No location'), _('No location selected'),
|
||||
show=True)
|
||||
loc = os.path.abspath(text)
|
||||
if not loc or not os.path.exists(loc) or not self.check_action(action,
|
||||
loc):
|
||||
if not loc or not os.path.exists(loc) or not os.path.isdir(loc):
|
||||
return error_dialog(self, _('Bad location'),
|
||||
_('%s is not an existing folder')%loc, show=True)
|
||||
if not self.check_action(action, loc):
|
||||
return
|
||||
QDialog.accept(self)
|
||||
self.location.save_history()
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user