Skip to content

Commit f568bbe

Browse files
committed
fix installer set_node_argument -d
1 parent 8c246c0 commit f568bbe

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
@@ -247,7 +247,7 @@ def Installer(args):
247247
# args = ["python3", "/usr/src/mytonctrl/mytoninstaller.py"]
248248
cmd = ["python3", "-m", "mytoninstaller"]
249249
if args:
250-
cmd += ["-c", *args]
250+
cmd += ["-c", " ".join(args)]
251251
subprocess.run(cmd)
252252
#end define
253253

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)