mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix Instapaper recipe not working when password is blank
This commit is contained in:
parent
8d0febf18f
commit
ce2fe95dbb
@ -303,7 +303,7 @@ class SchedulerDialog(QDialog, Ui_Dialog):
|
||||
username, password = username.strip(), password.strip()
|
||||
recipe = self._model.data(self.recipes.currentIndex(), Qt.UserRole)
|
||||
key = 'recipe_account_info_%s'%recipe.id
|
||||
config[key] = (username, password) if username and password else None
|
||||
config[key] = (username, password) if username else None
|
||||
|
||||
def do_schedule(self, *args):
|
||||
if not getattr(self, 'allow_scheduling', False):
|
||||
|
Loading…
x
Reference in New Issue
Block a user