Fix starting if tabs.state does not exist
This commit is contained in:
parent
9f1c536eb1
commit
dde58e80d7
|
@ -111,6 +111,7 @@ class TorrentDetails(component.Component):
|
|||
# Get the state from saved file
|
||||
state = self.load_state()
|
||||
|
||||
if state:
|
||||
for item in state:
|
||||
if not isinstance(item, tuple):
|
||||
log.debug("Old tabs.state, using default..")
|
||||
|
|
Loading…
Reference in New Issue