Skip to content

Commit

Permalink
[PowerTimerList] PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
Twol committed Oct 2, 2023
1 parent 696578d commit 686436d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/Components/PowerTimerList.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ def buildTimerEntry(self, timer, processed):
TIMERTYPE.DEEPSTANDBY: _("Deep Standby"),
TIMERTYPE.REBOOT: _("Reboot"),
TIMERTYPE.RESTART: _("Restart GUI")
}[timer.timerType]
}[timer.timerType]

afterevent = {
AFTEREVENT.NONE: _("Nothing"),
AFTEREVENT.WAKEUPTOSTANDBY: _("Wake Up To Standby"),
AFTEREVENT.STANDBY: _("Standby"),
AFTEREVENT.DEEPSTANDBY: _("Deep Standby")
}[timer.afterEvent]
}[timer.afterEvent]

height = self.l.getItemSize().height()
width = self.l.getItemSize().width()
Expand Down

0 comments on commit 686436d

Please sign in to comment.