diff --git a/screenless/bureau/photography/photography.py b/screenless/bureau/photography/photography.py index 92e9ea4..a3596b7 100644 --- a/screenless/bureau/photography/photography.py +++ b/screenless/bureau/photography/photography.py @@ -33,7 +33,7 @@ class Photography(Bureau): # set up the gpios for lamp & knobs gpio.init() - gpio.setcfg(doc_light_pin, gpio.OUTPUT) + gpio.setcfg(self.doc_light_pin, gpio.OUTPUT) def _doc_light_on(self):