Changeset 5741f6d in flowtimer


Ignore:
Timestamp:
08/22/24 11:15:16 (11 months ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
guix
Children:
36c9ef5
Parents:
577c8c6
Message:

add is_sequence to Phase and RecurringPhaseSequence

Location:
flowtimer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • flowtimer/Phase.py

    r577c8c6 r5741f6d  
    5050                str(self._ticks_left) + "\n" + str(self._state) + "\n")
    5151
     52    def is_sequence(self):
     53        return False
     54
    5255    def abort(self):
    5356        self._state = "finished"
  • flowtimer/RecurringPhaseSequence.py

    r577c8c6 r5741f6d  
    4646    def title(self):
    4747        return self.current_phase.title
     48
     49    def is_sequence(self):
     50        return True
    4851
    4952    def current_phase_number(self):
Note: See TracChangeset for help on using the changeset viewer.