From e71b6ce0b139face71055d080617a1220e18b688 Mon Sep 17 00:00:00 2001 From: luukas Date: Sun, 18 Apr 2021 13:03:21 +0300 Subject: [PATCH] Fix __init__ being defined 2 times in cmd.py MainPrompt --- app/classes/shared/cmd.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/classes/shared/cmd.py b/app/classes/shared/cmd.py index fef1b426..5c65c46d 100644 --- a/app/classes/shared/cmd.py +++ b/app/classes/shared/cmd.py @@ -29,10 +29,6 @@ class MainPrompt(cmd.Cmd, object): # overrides the default Prompt prompt = "Crafty Controller v{} > ".format(helper.get_version_string()) - def __init__(self, tasks_manager): - super().__init__() - self.tasks_manager = tasks_manager - @staticmethod def emptyline(): pass