Skip to content

Commit

Permalink
Merge pull request #63 from pimoroni/patch-plasma-legacy
Browse files Browse the repository at this point in the history
Import legacy plasma library if available
  • Loading branch information
Gadgetoid authored Jan 21, 2020
2 parents 3b38df7 + 615ad5b commit 5c8796b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion library/fanshim/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import RPi.GPIO as GPIO
import time
import plasma
try:
from plasma import legacy as plasma
except ImportError:
import plasma
import atexit
from threading import Thread

Expand Down

0 comments on commit 5c8796b

Please sign in to comment.