From 82126a1f51a35e3ec60073b2fc3c2694162680b5 Mon Sep 17 00:00:00 2001 From: Faelix Incident Handler Date: Fri, 15 Jun 2018 23:14:55 +0000 Subject: [PATCH] put executed commands in as a small title --- fih.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fih.py b/fih.py index 9bd30e1..d03b93b 100644 --- a/fih.py +++ b/fih.py @@ -107,7 +107,7 @@ Again, after setting the headline status you must: **@FIH PUBLISH** def exec_to_message( cmdline ): - results = "`" + cmdline + "`:\n\n" + results = "#### `" + cmdline + "`:\n\n" process = subprocess.Popen( cmdline, shell = True, cwd = app.config[ "STATUS_ROOT" ], stdout = subprocess.PIPE, stderr = subprocess.PIPE ) stdout = strip_progress( strip_ansi( process.stdout.read().decode( 'ascii', 'ignore' ) ) )