[Launcher] To make experience with launcher amazing /s (#3175)

* Update launcher.py

* Create 3174.bugfix.rst

* Revert launcher.py

* Update launcher.py

* Update launcher.py
This commit is contained in:
jack1142 2019-12-08 00:56:23 +01:00 committed by Michael H
parent d07e718ab8
commit 02d6b7d658
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1 @@
``--owner`` and ``-p`` cli flags now work when added from launcher.

View File

@ -201,7 +201,12 @@ def cli_flag_getter():
choice = user_choice() choice = user_choice()
if choice == "y": if choice == "y":
print("Done selecting cli flags") print("Done selecting cli flags")
return flags # this is safe only because arguments like prefix and owner id can't have spaces
cli_flags = []
for flag_with_spaces in flags:
for flag in flag_with_spaces.split():
cli_flags.append(flag)
return cli_flags
else: else:
print("Starting over") print("Starting over")
return cli_flag_getter() return cli_flag_getter()