diff --git a/run.py b/run.py index 82b5fd5..73b301e 100644 --- a/run.py +++ b/run.py @@ -25,7 +25,6 @@ from Src.Util.logger import Logger CLOSE_CONSOLE = config_manager.get_bool('DEFAULT', 'not_close') - def run_function(func: Callable[..., None], close_console: bool = False) -> None: """ Run a given function indefinitely or once, depending on the value of close_console. @@ -41,7 +40,6 @@ def run_function(func: Callable[..., None], close_console: bool = False) -> None func() - def load_search_functions(): modules = [] @@ -103,7 +101,6 @@ def load_search_functions(): return loaded_functions - def initialize(): # Get start message @@ -184,7 +181,6 @@ def main(): sys.exit(0) - if __name__ == '__main__': - #initialize() + initialize() main() \ No newline at end of file