Skip to content

Commit

Permalink
- Added FIXME message for future improvements of TotalFact class in f…
Browse files Browse the repository at this point in the history
…acttree.py
  • Loading branch information
esteban-aliverti committed Apr 16, 2020
1 parent ae81ada commit 0f7d4a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hamster/widgets/facttree.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 0f7d4a5

Please sign in to comment.