mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
pep8
This commit is contained in:
parent
0852b99192
commit
cfcc8c8a87
@ -247,7 +247,8 @@ class TOC(QStandardItemModel):
|
||||
backwards=False, current_entry=None):
|
||||
current_entry = (self.currently_viewed_entry if current_entry is None
|
||||
else current_entry)
|
||||
if current_entry is None: return
|
||||
if current_entry is None:
|
||||
return
|
||||
items = reversed(self.all_items) if backwards else self.all_items
|
||||
found = False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user