Skip to content

Commit

Permalink
AnalogClock 1.24 - fixed GSOD on clock setup, when plugin was not sta…
Browse files Browse the repository at this point in the history
…rted yet
  • Loading branch information
ims committed Mar 28, 2024
1 parent 5363599 commit 5061388
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion plugin/plugin.py
Expand Up @@ -4,7 +4,7 @@
#
# Plugin for Enigma2
#
# Coded by ims (c)2014-2018
# Coded by ims (c)2014-2024
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand All @@ -29,6 +29,8 @@ def sessionstart(reason, **kwargs):

def main(session, **kwargs):
import ui
if not ui.AnalogClock.session:
ui.AnalogClock.startAnalogClock(session)
session.open(ui.AnalogClockSetup, plugin_path)


Expand Down
6 changes: 3 additions & 3 deletions plugin/ui.py
Expand Up @@ -4,9 +4,9 @@
#
# Plugin for Enigma2
#
VERSION = "1.23"
VERSION = "1.24"
#
# Coded by ims (c)2014-2020
# Coded by ims (c)2014-2024
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -41,7 +41,7 @@
fullHD = True

config.plugins.AnalogClock = ConfigSubsection()
config.plugins.AnalogClock.enable = ConfigYesNo(default=True)
config.plugins.AnalogClock.enable = ConfigYesNo(default=False)
choicelist = []
for i in range(20, 1070, 10):
choicelist.append(("%d" % i))
Expand Down

0 comments on commit 5061388

Please sign in to comment.