Fix __init__ being defined 2 times in cmd.py MainPrompt

This commit is contained in:
luukas 2021-04-18 13:03:21 +03:00
parent 23ce45724a
commit e71b6ce0b1

View File

@ -29,10 +29,6 @@ class MainPrompt(cmd.Cmd, object):
# overrides the default Prompt # overrides the default Prompt
prompt = "Crafty Controller v{} > ".format(helper.get_version_string()) prompt = "Crafty Controller v{} > ".format(helper.get_version_string())
def __init__(self, tasks_manager):
super().__init__()
self.tasks_manager = tasks_manager
@staticmethod @staticmethod
def emptyline(): def emptyline():
pass pass