summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2015-11-11 14:55:11 -0800
committerJohnathan Corgan <johnathan@corganlabs.com>2015-11-11 14:55:11 -0800
commit69edea3246a03ccc12dc5979bf044da43070a3f4 (patch)
treead629e06c299935ffdf5a877fcea56181ce89794 /grc
parent6a88efbd7252c9ac3fe66a3830ce668309825fe5 (diff)
parent4bbe46efa323a05567ed6ec0ddfb03efe737dfaa (diff)
Merge branch 'maint'
Diffstat (limited to 'grc')
-rw-r--r--grc/gui/BlockTreeWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/BlockTreeWindow.py b/grc/gui/BlockTreeWindow.py
index 631272b03c..1cc4d9018b 100644
--- a/grc/gui/BlockTreeWindow.py
+++ b/grc/gui/BlockTreeWindow.py
@@ -125,7 +125,7 @@ class BlockTreeWindow(gtk.VBox):
if treestore is None: treestore = self.treestore
if categories is None: categories = self._categories
- if isinstance(category, str): category = category.split('/')
+ if isinstance(category, (str, unicode)): category = category.split('/')
category = tuple(filter(lambda x: x, category)) #tuple is hashable
#add category and all sub categories
for i, cat_name in enumerate(category):