Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Update kommandr.py #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion storm/kommandr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down