not my day... fix yet another typo
[vuplus_dvbapp-plugin] / autotimer / src / AutoTimer.py
index ed2c3ca..dd9a618 100644 (file)
@@ -293,7 +293,7 @@ class AutoTimer:
                                if isNew:
                                        conflicts = NavigationInstance.instance.RecordTimer.record(newEntry)
                                        if conflicts and config.plugins.autotimer.disabled_on_conflict.value:
-                                               timer.disabled = True
+                                               newEntry.disabled = True
                                                # We might want to do the sanity check locally so we don't run it twice - but I consider this workaround a hack anyway
                                                conflicts = NavigationInstance.instance.RecordTimer.record(newEntry)
                                        if conflicts is None: