fix logrotate functionality
[logparse.git] / logparse / parsers / cron-journald.py
index 9df7e2bca244d8df28ffc430a5460c0ee79ddb4b..b085aeaba2c23a3d20c5f61f39f193cc6b99096a 100644 (file)
@@ -51,7 +51,7 @@ def parse_log():
 
     for usr, cmdlist in users.items():
         user_data = Data()
-        user_data.subtitle = plural("cron sessions", len(cmdlist)) + " for " + usr
+        user_data.subtitle = plural("cron session", len(cmdlist)) + " for " + usr
         user_data.items = ("`{0}`".format(cmd) for cmd in cmdlist)
         user_data.orderbyfreq()
         user_data.truncl(config.prefs['maxcmd'])