mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 18:08:39 +00:00
Fix #1860 - Files Tab TypeError (could not parse subscript as a tree path)
This commit is contained in:
parent
a3d2b41b54
commit
c2b5d29c6a
1 changed files with 1 additions and 2 deletions
|
@ -438,9 +438,8 @@ class FilesTab(Tab):
|
||||||
"""
|
"""
|
||||||
Go through the tree and update the folder complete percentages.
|
Go through the tree and update the folder complete percentages.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
root = self.treestore.get_iter_root()
|
root = self.treestore.get_iter_root()
|
||||||
if self.treestore[root][5] != -1:
|
if root is None or self.treestore[root][5] != -1:
|
||||||
return
|
return
|
||||||
|
|
||||||
def get_completed_bytes(row):
|
def get_completed_bytes(row):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue