Skip to content

Commit

Permalink
[sleeptimer] change selection max time from 120 to 240 minutes ( seco…
Browse files Browse the repository at this point in the history
…nd try )
  • Loading branch information
hd75hd committed Jan 30, 2018
1 parent 5018e6f commit 101de16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/Components/UsageConfig.py
Expand Up @@ -311,7 +311,7 @@ def autorecordpathChanged(configElement):
choicelist = [("standby", _("Standby")),("deepstandby", _("Deep Standby"))]
config.usage.sleep_timer_action = ConfigSelection(default = "deepstandby", choices = choicelist)
choicelist = [("0", _("Disabled")),("event_standby", _("Execute after current event"))]
for i in range(900, 7201, 900):
for i in range(900, 14401, 900):
m = abs(i / 60)
m = ngettext("%d minute", "%d minutes", m) % m
choicelist.append((str(i), _("Execute in ") + m))
Expand Down

0 comments on commit 101de16

Please sign in to comment.