From 0d8d321a06343af608f25df3a55df67ef291d45d Mon Sep 17 00:00:00 2001 From: Brian Madden Date: Mon, 14 Sep 2015 21:37:53 -0700 Subject: [PATCH 1/3] Bug Fix: Switch Controller no longer crashes if it receives a change of an unconfigured switched --- mpf/system/switch_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpf/system/switch_controller.py b/mpf/system/switch_controller.py index 755652beb..eeb1d1416 100644 --- a/mpf/system/switch_controller.py +++ b/mpf/system/switch_controller.py @@ -306,7 +306,7 @@ def process_switch(self, name=None, state=1, logical=False, num=None, name = obj.name # switches this to the name MPF wants to use - else: + if not obj: self.log.warning("Received a state change from non-configured " "switch. Number: %s, Name: %s", num, name) return From 3865d806df1de096ce03a7a509f5b9abfa74dca3 Mon Sep 17 00:00:00 2001 From: Brian Madden Date: Mon, 14 Sep 2015 21:38:05 -0700 Subject: [PATCH 2/3] Updated readme for 0.20.0 --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index 928fddc0d..ca4be935c 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,3 @@ -Dev Branch Notes for August 16, 2015 -==================================== - -Note that the dev branch contains many changes from master and requires that you -update your config files to version 3. You will need to do this before you can -run this dev version. Details here: https://missionpinball.com/docs/configuration-file-reference/config-version-3/ - Mission Pinball Framework (mpf) =============================== From 3fab673dc3fa4746206584e692ccb8518b88f54c Mon Sep 17 00:00:00 2001 From: Brian Madden Date: Mon, 14 Sep 2015 21:38:51 -0700 Subject: [PATCH 3/3] Updated readme --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ca4be935c..de73cfecf 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,10 @@ http://missionpinball.com/framework. Full documentation (available online or via a PDF) is available at http://missionpinball.com/docs. -A Sphinx-based API reference is available in the /docs/generated/html -directory of this project. (This is the API reference only. The full -documentation is available via those other web links.) +A Sphinx-based API reference is available in the gh-pages branch The Mission Pinball Framework is released via The MIT License. See LICENSE.md for details. -The Mission Pinball Framework is created by Brian Madden and Gabe Knuth. +The Mission Pinball Framework is created by Brian Madden and Gabe Knuth with help +from lots of other awesome people.