summaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtk3/torrentview.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/gtk3/torrentview.py')
-rw-r--r--deluge/ui/gtk3/torrentview.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/deluge/ui/gtk3/torrentview.py b/deluge/ui/gtk3/torrentview.py
index 16de16ea7..27771d574 100644
--- a/deluge/ui/gtk3/torrentview.py
+++ b/deluge/ui/gtk3/torrentview.py
@@ -7,6 +7,7 @@
#
"""The torrent view component that lists all torrents in the session."""
+
import logging
from locale import strcoll
@@ -577,7 +578,7 @@ class TorrentView(ListView, component.Component):
status_keys = self.set_columns_to_update(columns)
# If there is nothing in status_keys then we must not continue
- if status_keys is []:
+ if status_keys == []:
return
# Remove duplicates from status_key list