Skip to content

Commit 2bbcb34

Browse files
authored
Merge pull request #336 from yungwine/installer-fix
fix installer set_node_argument -d
2 parents 607dfdd + f568bbe commit 2bbcb34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mytonctrl/mytonctrl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def Installer(args):
227227
# args = ["python3", "/usr/src/mytonctrl/mytoninstaller.py"]
228228
cmd = ["python3", "-m", "mytoninstaller"]
229229
if args:
230-
cmd += ["-c", *args]
230+
cmd += ["-c", " ".join(args)]
231231
subprocess.run(cmd)
232232
#end define
233233

mytoninstaller/mytoninstaller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def General(local, console):
259259
Refresh(local)
260260
if "-c" in sys.argv:
261261
cx = sys.argv.index("-c")
262-
args = sys.argv[cx+1:]
262+
args = sys.argv[cx+1].split()
263263
Command(local, args, console)
264264
if "-e" in sys.argv:
265265
ex = sys.argv.index("-e")

0 commit comments

Comments
 (0)