From 728c4fed54b6bc8a3a335e9b53cbe606d9815354 Mon Sep 17 00:00:00 2001 From: Krateng Date: Wed, 26 Jun 2019 17:17:15 +0200 Subject: [PATCH] Fixed description text for performance / pulse --- malojatime.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/malojatime.py b/malojatime.py index a77fd4a..8916939 100644 --- a/malojatime.py +++ b/malojatime.py @@ -546,9 +546,8 @@ def time_stamps(since=None,to=None,within=None,range=None): def delimit_desc(step="month",stepn=1,trail=1): txt = "" - if stepn is not 1: txt += _num(stepn) + "-" + if stepn is not 1: txt += str(stepn) + "-" txt += {"year":"Yearly","month":"Monthly","week":"Weekly","day":"Daily"}[step.lower()] - #if trail is not 1: txt += " " + _num(trail) + "-Trailing" if trail is math.inf: txt += " Cumulative" elif trail is not 1: txt += " Trailing" #we don't need all the info in the title