From 85a01fb0f10b5c2dbd47146d65f70b4325a4b21b Mon Sep 17 00:00:00 2001 From: marcel Date: Thu, 3 Aug 2017 10:33:58 +0200 Subject: [PATCH] [minor] cosmetics in print --- pylot/core/util/widgets.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 0d9ca9c5..ee615d74 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -2944,7 +2944,10 @@ class Submit2Grid(QWidget): command = self.textedit.text().strip().split(' ') command.append(self.script_fn) p = subprocess.Popen(command) - print('exec. command: {}'.format(str(command))) + cmd_str = str() + for item in command: + cmd_str += item + ' ' + print('exec. command: {}'.format(cmd_str)) print('Spawned autoPyLoT process with pid {}'.format(p.pid)) @@ -2968,7 +2971,10 @@ class SubmitLocal(QWidget): def execute_command(self, pp_export): command = self.script_fn command.append(pp_export) - print('exec. command: {}'.format(str(command))) + cmd_str = str() + for item in command: + cmd_str += item + ' ' + print('exec. command: {}'.format(cmd_str)) p = subprocess.Popen(command) print('Spawned autoPyLoT process with pid {}'.format(p.pid))