This commit is contained in:
Kovid Goyal 2016-09-29 20:34:45 +05:30
parent 9b3a7855bc
commit 9aa7516fa8
3 changed files with 2 additions and 3 deletions

View File

@ -1723,7 +1723,7 @@ class KOBOTOUCH(KOBO):
expiry="" if self.show_archived_books else "and IsDownloaded in ('true', 1)",
previews=" OR (Accessibility in (6) AND ___UserID <> '')" if self.show_previews else "",
recomendations=" OR (Accessibility IN (-1, 4, 6) AND ___UserId = '')" if self.show_recommendations else "",
downloaded_accessibility = "1,2,9" if self.supports_overdrive() else "1,2"
downloaded_accessibility="1,2,9" if self.supports_overdrive() else "1,2"
)
elif self.supports_series():
where_clause = (" WHERE BookID IS NULL "

View File

@ -757,7 +757,7 @@ class MetadataBulkDialog(QDialog, Ui_MetadataBulkDialog):
try:
v = int(val[0])
if v < 0 or v > 10:
ok = False;
ok = False
except:
ok = False
if not ok:

View File

@ -91,7 +91,6 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
for row, col in enumerate(colmap):
self.setup_row(self.field_metadata, row, col)
self.restore_geometry()
self.opt_columns.cellDoubleClicked.connect(self.row_double_clicked)
self.opt_columns.blockSignals(False)