diff --git a/src/calibre/gui2/dialogs/scheduler.py b/src/calibre/gui2/dialogs/scheduler.py index f31e76b861..c4e040231e 100644 --- a/src/calibre/gui2/dialogs/scheduler.py +++ b/src/calibre/gui2/dialogs/scheduler.py @@ -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):