typos and cosmetics

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
Jakub Trllo 2024-04-04 12:42:37 +02:00 committed by GitHub
parent 905587a00f
commit f7ea2cc525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -170,8 +170,8 @@ def run(script):
return
# Remove first argument if it is the same as AYON executable
# - Forwards compatibility with future AYON versions.
# - Current AYON launcher keep the arguments with first argument but
# - Forward compatibility with future AYON versions.
# - Current AYON launcher keeps the arguments with first argument but
# future versions might remove it.
first_arg = sys.argv[0]
if is_running_from_build():
@ -189,7 +189,7 @@ def run(script):
args_string = " ".join(sys.argv[1:])
print(f"... running: {script} {args_string}")
runpy.run_path(script, run_name="__main__", )
runpy.run_path(script, run_name="__main__")
@main_cli.command()