mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix __init__ being defined 2 times in cmd.py MainPrompt
This commit is contained in:
parent
23ce45724a
commit
e71b6ce0b1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user