Consistency in factory references

This commit is contained in:
Dave Jones
2017-07-03 14:20:07 +01:00
parent b2e4237a57
commit 49d3bbc1da

View File

@@ -163,7 +163,7 @@ class PiGPIOPin(PiPin):
def __init__(self, factory, number):
super(PiGPIOPin, self).__init__(factory, number)
self._pull = 'up' if factory.pi_info.pulled_up(repr(self)) else 'floating'
self._pull = 'up' if self.factory.pi_info.pulled_up(repr(self)) else 'floating'
self._pwm = False
self._bounce = None
self._callback = None