diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2015-11-11 14:55:11 -0800 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2015-11-11 14:55:11 -0800 |
commit | 69edea3246a03ccc12dc5979bf044da43070a3f4 (patch) | |
tree | ad629e06c299935ffdf5a877fcea56181ce89794 /grc | |
parent | 6a88efbd7252c9ac3fe66a3830ce668309825fe5 (diff) | |
parent | 4bbe46efa323a05567ed6ec0ddfb03efe737dfaa (diff) |
Merge branch 'maint'
Diffstat (limited to 'grc')
-rw-r--r-- | grc/gui/BlockTreeWindow.py | 2 |
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): |