mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
Fixed imports
This commit is contained in:
@@ -16,7 +16,7 @@ class NFCState(Enum):
|
||||
|
||||
class NFCReader:
|
||||
def __init__(self):
|
||||
from spoolbuddy.read_tag import PN5180
|
||||
from read_tag import PN5180
|
||||
|
||||
self._nfc = PN5180()
|
||||
self._state = NFCState.IDLE
|
||||
|
||||
@@ -11,7 +11,7 @@ MOVING_AVG_SIZE = 5
|
||||
|
||||
class ScaleReader:
|
||||
def __init__(self, tare_offset: int = 0, calibration_factor: float = 1.0):
|
||||
from spoolbuddy.scale_diag import NAU7802
|
||||
from scale_diag import NAU7802
|
||||
|
||||
self._scale = NAU7802()
|
||||
self._tare_offset = tare_offset
|
||||
|
||||
Reference in New Issue
Block a user