From 951ce5925006792955d4b97916adcba63a353bec Mon Sep 17 00:00:00 2001 From: KeeckAOE <90447407+KeeckAOE@users.noreply.github.com> Date: Sun, 30 Jun 2024 08:40:02 +0200 Subject: [PATCH] Fixing imports --- JoyIT_hx711py/__init__.py | 1 + examples/calibration.py | 2 +- examples/example.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/JoyIT_hx711py/__init__.py b/JoyIT_hx711py/__init__.py index e69de29..7c279d1 100644 --- a/JoyIT_hx711py/__init__.py +++ b/JoyIT_hx711py/__init__.py @@ -0,0 +1 @@ +from .JoyIT_hx711py import * \ No newline at end of file diff --git a/examples/calibration.py b/examples/calibration.py index eadb11a..cca8cad 100644 --- a/examples/calibration.py +++ b/examples/calibration.py @@ -38,7 +38,7 @@ import gpiozero import time import sys -from hx711 import HX711 +from JoyIT_hx711py import HX711 # Force Python 3 ########################################################### diff --git a/examples/example.py b/examples/example.py index 1a4ea41..a5ff5b5 100644 --- a/examples/example.py +++ b/examples/example.py @@ -33,7 +33,7 @@ import gpiozero import time import sys -from hx711 import HX711 +from JoyIT_hx711py import HX711 # Force Python 3 ###########################################################