From 7fa2deaa1589865a163dfe1a3c3dc43d19050c43 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Fri, 28 Apr 2017 22:18:14 +0200 Subject: [PATCH] fix doc light pin reference --- screenless/bureau/photography/photography.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screenless/bureau/photography/photography.py b/screenless/bureau/photography/photography.py index 649a41c..84c29db 100644 --- a/screenless/bureau/photography/photography.py +++ b/screenless/bureau/photography/photography.py @@ -22,8 +22,8 @@ class Photography(Bureau): # set up the gpios for lamp & knobs gpio.init() - gpio.pullup(doc_light_pin, 0) # reset pullup state - gpio.pullup(doc_light_pin, gpio.PULLDOWN) + gpio.pullup(self.doc_light_pin, 0) # reset pullup state + gpio.pullup(self.doc_light_pin, gpio.PULLDOWN) def _doc_light_on(self):