diff options
Diffstat (limited to 'grc/gui/BlockTreeWindow.py')
-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): |