Fixed delegate display error, tab retention

This commit is contained in:
BasioMeusPuga
2017-11-15 11:57:33 +05:30
parent 13170fc14e
commit a17a150a45
5 changed files with 74 additions and 29 deletions

View File

@@ -32,7 +32,7 @@ class BookSorter:
# This includes getting file info for the database
# Parsing for the reader proper
# Caching upon closing
self.file_list = file_list
self.file_list = [i for i in file_list if os.path.exists(i)]
self.statistics = [0, (len(file_list))]
self.all_books = {}
self.hashes = []
@@ -145,7 +145,7 @@ class BookSorter:
content['Invalid'] = 'Possible Parse Error'
position = self.database_position(file_md5)
self.all_books = {
self.all_books[file_md5] = {
'title': title,
'author': author,
'year': year,