v2 Standalone Docker Update #40

Merged
alex_orid merged 157 commits from v2.0 into master 2021-05-13 20:36:45 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit e6034fa254 - Show all commits

View File

@ -18,7 +18,7 @@ def load_commands_new(commandType: AbstractCommand.CommandType) -> Dict[str, Abs
commands = compile_and_load_new(commandType)
return commands
def compile_and_load_file(path: str) -> (str, AbstractCommand):
def compile_and_load_file(path: str):
module_name = os.path.split(path)[1].replace(".py", "")
spec = importlib.util.spec_from_file_location(module_name, path)
module = importlib.util.module_from_spec(spec)
@ -33,7 +33,7 @@ def compile_and_load_file(path: str) -> (str, AbstractCommand):
return "", None
#New
def compile_and_load_file_new(path: str, commandType: AbstractCommand.CommandType) -> (str, AbstractCommand):
def compile_and_load_file_new(path: str, commandType: AbstractCommand.CommandType):
module_name = os.path.split(path)[1].replace(".py", "")
spec = importlib.util.spec_from_file_location(module_name, path)
module = importlib.util.module_from_spec(spec)

View File

@ -66,7 +66,7 @@ class Twitch_Module():
# print("Sent ChatMSG")
self.cooldownModule.actionTrigger("twitchChat")
def parse_line(self, message: str) -> (str, str):
def parse_line(self, message: str):
first_space = False
start = -1
idx = -1