typo in autotimer

  • File "/usr/lib/enigma2/python/mytest.py", line 172, in processDelay
    callback(*retval)
    File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 1252, in extensionCallback
    File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 9, in __call__
    File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 1273, in runPlugin
    File "/usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/plugin.py", line 78, in main
    File "/usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimer.py", line 95, in readXml
    File "/usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimerConfiguration.py", line 53, in parseConfig
    File "/usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimerConfiguration.py", line 91, in parseEntry
    NameError: global name 'maxlen' is not defined



    code:


    maxduration = element.getAttribute("maxduration") or None
    if maxduration:
    baseTimer.maxduration = int(maxlen)*60


    looks like a maxduration-->maxlen typo?

  • yep, bug in default timer code that nobody noticed so it got merged with "normal" parser later on :smiling_face:


    Thanks, fixed it.

    Homescreen eurer Apple-Geräte noch nicht voll genug?


    dreaMote: Fernbedienung für Dreamboxen
    Mobile WOL: Wake-on-LAN Client für iOS mit optionalem Widget
    My Home Remote: Fernkontrolle für Homematic CCU/CCU2 optimiert für mobile Benutzung