mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-06 19:45:24 +00:00
Minor fix
This commit is contained in:
parent
389e7cec68
commit
0f31abd946
6
run.py
6
run.py
@ -25,7 +25,6 @@ from Src.Util.logger import Logger
|
|||||||
CLOSE_CONSOLE = config_manager.get_bool('DEFAULT', 'not_close')
|
CLOSE_CONSOLE = config_manager.get_bool('DEFAULT', 'not_close')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def run_function(func: Callable[..., None], close_console: bool = False) -> None:
|
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.
|
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()
|
func()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def load_search_functions():
|
def load_search_functions():
|
||||||
|
|
||||||
modules = []
|
modules = []
|
||||||
@ -103,7 +101,6 @@ def load_search_functions():
|
|||||||
return loaded_functions
|
return loaded_functions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def initialize():
|
def initialize():
|
||||||
|
|
||||||
# Get start message
|
# Get start message
|
||||||
@ -184,7 +181,6 @@ def main():
|
|||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
#initialize()
|
initialize()
|
||||||
main()
|
main()
|
Loading…
x
Reference in New Issue
Block a user