Skip to content

Commit 75c3ea3

Browse files
Takeshi YotsuyanagiTakeshi Yotsuyanagi
authored andcommitted
str -> six.string_types
1 parent c6d79bf commit 75c3ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jj_menu/jj_menu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def get_menu():
9191
def _get_menus():
9292
menus = getattr(import_menu_settings(), 'menu')
9393
for m in menus:
94-
if isinstance(m, str):
94+
if isinstance(m, six.string_types):
9595
yield (m, m)
9696
elif len(m) >= 2:
9797
if isinstance(m[1], (list, tuple)):

0 commit comments

Comments
 (0)