Commit 91b33f4b authored by Guillaume Seguin's avatar Guillaume Seguin

Cleanup

parent 38dcbae5
...@@ -1076,14 +1076,13 @@ class pronsole(cmd.Cmd): ...@@ -1076,14 +1076,13 @@ class pronsole(cmd.Cmd):
self.p.runSmallScript(self.endScript) self.p.runSmallScript(self.endScript)
command = self.settings.final_command if not self.settings.final_command:
if not command:
return return
self.finalp = run_command(command, run_command(self.settings.final_command,
{"$s": str(self.filename), {"$s": str(self.filename),
"$t": format_duration(print_duration)}, "$t": format_duration(print_duration)},
stderr = subprocess.STDOUT, stdout = subprocess.PIPE, stderr = subprocess.STDOUT, stdout = subprocess.PIPE,
blocking = False) blocking = False)
def help_shell(self): def help_shell(self):
self.log("Executes a python command. Example:") self.log("Executes a python command. Example:")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment