From 44351b26c040824e9c7883fd8cfb6f21ee66098d Mon Sep 17 00:00:00 2001 From: Sebastian Steuer Date: Sat, 30 Nov 2013 01:45:08 +0100 Subject: [PATCH] renamed config.py.EXAMPLE, and bugfix --- config.pyEXAMPLE => config.py.EXAMPLE | 0 oven.py | 6 +++--- picoreflowd.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename config.pyEXAMPLE => config.py.EXAMPLE (100%) diff --git a/config.pyEXAMPLE b/config.py.EXAMPLE similarity index 100% rename from config.pyEXAMPLE rename to config.py.EXAMPLE diff --git a/oven.py b/oven.py index 630f380..1bcb335 100644 --- a/oven.py +++ b/oven.py @@ -133,9 +133,9 @@ class TempSensor(threading.Thread): self.oven = oven if sensor_available: - self.thermocouple = MAX31855(gpio_sensor_cs, - gpio_sensor_clock, - gpio_sensor_data, + self.thermocouple = MAX31855(config.gpio_sensor_cs, + config.gpio_sensor_clock, + config.gpio_sensor_data, "c" ) diff --git a/picoreflowd.py b/picoreflowd.py index 68cc6cd..c790c15 100644 --- a/picoreflowd.py +++ b/picoreflowd.py @@ -8,7 +8,7 @@ try: import config except: print "Could not import config file." - print "Copy config.pyEXAMPLE to config.py and adapt it for your setup." + print "Copy config.py.EXAMPLE to config.py and adapt it for your setup." exit(1) logging.basicConfig(level = config.log_level, format = config.log_format)