not my day... fix yet another typo
authorMoritz Venn <ritzmo@users.schwerkraft.elitedvb.net>
Sat, 3 Jan 2009 18:28:54 +0000 (18:28 +0000)
committerMoritz Venn <ritzmo@users.schwerkraft.elitedvb.net>
Sat, 3 Jan 2009 18:28:54 +0000 (18:28 +0000)
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: