From 664461f304a236957019ef5a3579f834af5d6e6e Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Thu, 4 May 2017 23:30:29 +0200 Subject: [PATCH] fix pin reference --- screenless/bureau/photography/photography.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):