mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-12-08 20:39:01 +00:00
Try and import the right compat...
And remove all the nonsense you re-factored into PiPin...
This commit is contained in:
@@ -12,7 +12,7 @@ from weakref import ref, proxy
|
||||
try:
|
||||
from weakref import WeakMethod
|
||||
except ImportError:
|
||||
from .compat import WeakMethod
|
||||
from ..compat import WeakMethod
|
||||
import warnings
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user