Merge branch 'master' into master
This commit is contained in:
commit
77f69f844b
|
|
@ -48,6 +48,7 @@ def run_as_a_module():
|
|||
a nuitka3 compiled version of the project.
|
||||
This function and the file __main__ acts as a entry point.
|
||||
"""
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
sys.argv.append('guided')
|
||||
|
||||
|
|
@ -57,6 +58,8 @@ def run_as_a_module():
|
|||
print(f"Couldn't find file: {err}")
|
||||
sys.exit(1)
|
||||
|
||||
os.chdir(os.path.abspath(os.path.dirname(__file__)))
|
||||
|
||||
try:
|
||||
exec(profile) # Is this is very safe?
|
||||
except Exception as err:
|
||||
|
|
|
|||
Loading…
Reference in New Issue