X-Git-Url: http://git.treefish.org/~alex/logalert.git/blobdiff_plain/6b34e849bedd62deb8ef4964c399f3e6ebd87bb7..refs/heads/master:/src/misc.py diff --git a/src/misc.py b/src/misc.py index 821159f..959fd57 100644 --- a/src/misc.py +++ b/src/misc.py @@ -41,9 +41,9 @@ def feed_handler(cmd, data): except Exception as e: logging.error("Error feeding handler: %s" % str(e)) -def create_msg(title, icon, logfile, text, lines): - msg = "%s %s %s" % (title, logfile, icon) - msg += "
%s" % text +def create_msg(title, icon, logfile, lines): + msg = "%s %s" % (title, icon) + msg += "
Too many errors in %s!" % logfile msg += "
"
     for line in lines: msg += line + "\n"
     msg += "
"