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):