1 #!/usr/bin/env -S python3 -Bu
4 # Copyright (c) 2016-2021 by Someone <someone@somenet.org> (aka. Jan Vales <jan@jvales.net>)
5 # published under MIT-License
7 # This is started by the init script.
15 sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "core")))
18 if len(sys.argv) == 1:
19 config = importlib.import_module("config")
21 sys.argv[1] = re.sub(".py$", "", sys.argv[1])
22 config = importlib.import_module(sys.argv[1])