Skip to content

Commit

Permalink
fix #51
Browse files Browse the repository at this point in the history
  • Loading branch information
jackw01 committed Jul 24, 2023
1 parent 44fb87d commit 00afeee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ledcontrol/driver/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# led-control WS2812B LED Controller Server
# Copyright 2023 jackw01. Released under the MIT License (see LICENSE for details).

import io

def is_raspberrypi():
try:
with io.open('/sys/firmware/devicetree/base/model', 'r') as m:
Expand Down

0 comments on commit 00afeee

Please sign in to comment.