Fixed category sorting for books ('c' on a book), found SQLite error on checking out books

This commit is contained in:
Gianni Gambetti 2014-10-19 14:20:08 -04:00
parent ea4f7b8b0e
commit 85ace8ab4c
2 changed files with 2 additions and 2 deletions

3
TODO
View File

@ -27,7 +27,8 @@ Error on search
- related to strings in Python3
When the top element shown is highlighted in the browser window, and pgUp is pressed (causing a scrollup), the bottom border of the window turns into 'qqqqqqqq'.
- does not happen when up_arrow is pressed.
Error checking out an already checked out book
- SQLite integrity check failure

View File

@ -471,7 +471,6 @@ class categorySelector(browserWindow):
def refreshSelected(self):
self.original = list(map(lambda x:False, self.entries))
cats = db.getBookCategories(self.book)
cats.sort()
cats.sort(key=lambda k: k.get('category')) # key=dict.get(col))
i = 0
j = 0