diff options
Diffstat (limited to 'sources/pyside-tools/pyside_tool.py')
-rw-r--r-- | sources/pyside-tools/pyside_tool.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside-tools/pyside_tool.py b/sources/pyside-tools/pyside_tool.py index 15db6c4aa..485520f5d 100644 --- a/sources/pyside-tools/pyside_tool.py +++ b/sources/pyside-tools/pyside_tool.py @@ -66,7 +66,8 @@ def qt_tool_wrapper(qt_tool, args): out, err = proc.communicate() if err: msg = err.decode("utf-8") - print("Error: {}\nwhile executing '{}'".format(msg, ' '.join(cmd))) + command = ' '.join(cmd) + print(f"Error: {msg}\nwhile executing '{command}'") sys.exit(proc.returncode) |