minimise the risk of a regression bug

This commit is contained in:
Martin Brodbeck 2024-07-22 15:34:04 +02:00
parent 0026170a8f
commit ca8d7117b9

View File

@ -3087,7 +3087,8 @@ class KOBOTOUCH(KOBO):
return bookshelves return bookshelves
# No idea why, but the newer database version seems to make this distinction necessary # No idea why, but the newer database version seems to make this distinction necessary
if self.dbversion >= 188: # (to minimise the risk of a regression bug, only do this - for now - if device is a tolino)
if self.dbversion >= 188 and self.isTolinoDevice():
query = 'SELECT Name FROM Shelf WHERE _IsDeleted = false' query = 'SELECT Name FROM Shelf WHERE _IsDeleted = false'
else: else:
query = 'SELECT Name FROM Shelf WHERE _IsDeleted = "false"' query = 'SELECT Name FROM Shelf WHERE _IsDeleted = "false"'