Test bluetooth connection, update readme
This commit is contained in:
1 parent
16cd7e4ff3
commit
e75ec6e330
2 files changed
+12
-5
No files matched your search
@@ -45,7 +45,6 @@ from niimprint import BluetoothTransport, PrinterClient, SerialTransport
|
||||
)
|
||||
def print_cmd(model, conn, addr, density, image):
|
||||
assert model != "d11", "D11 support may be broken (test yourself)"
|
||||
assert conn != "bluetooth", "Bluetooth support may be broken (test yourself)"
|
||||
|
||||
if conn == "bluetooth":
|
||||
addr = addr.upper()
|
||||
|
||||
Reference in new issue
Block a user