From 0f7d4a5def3830a02bfaba5a1f2f2a4483543a44 Mon Sep 17 00:00:00 2001 From: esteban-aliverti Date: Thu, 16 Apr 2020 07:41:44 +0200 Subject: [PATCH] - Added FIXME message for future improvements of TotalFact class in facttree.py --- src/hamster/widgets/facttree.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hamster/widgets/facttree.py b/src/hamster/widgets/facttree.py index 6ab9028aa..77b37ee5f 100644 --- a/src/hamster/widgets/facttree.py +++ b/src/hamster/widgets/facttree.py @@ -52,6 +52,8 @@ class TotalFact(Fact): of Fact. A TotalFact doesn't have a meaningful start and an end, but a total duration (delta). + FIXME: Ideally, we should have a common parent for Fact and Total Fact + so we don't need to have nonsensical start and end properties here. """ def __init__(self, activity, duration): super().__init__(activity=activity, start=dt.datetime.now(), end=dt.datetime.now())