Migrated StartService to new argument parsing

This commit is contained in:
2022-05-19 20:04:29 +02:00
parent e7cf545502
commit 6c8e9ccd89
2 changed files with 2 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ class LiveServerThread(threading.Thread):
main = self._build_settings.main.split('.')[length]
self._main = os.path.join(self._path, f'{main}.py')
Console.write_line(self._main)
if not os.path.isfile(self._main):
Console.error('Entry point main.py not found')
return