diff --git a/storm/kommandr.py b/storm/kommandr.py index 71d9c13..f6cdef0 100644 --- a/storm/kommandr.py +++ b/storm/kommandr.py @@ -95,7 +95,7 @@ def __init__(self, **kwargs): def command(self, *args, **kwargs): """Convenient decorator simply creates corresponding command""" - if len(args) == 1 and isinstance(args[0], collections.Callable): + if len(args) == 1 and isinstance(args[0], collections.abc.Callable): return self._generate_command(args[0]) else: def _command(func):