fix base path for start print command for non X1 devices

This commit is contained in:
jneilliii
2024-11-04 14:18:46 -05:00
committed by GitHub
parent 1d9f874560
commit 7c87ba9482

View File

@ -25,7 +25,7 @@ class IdleState(APrinterState):
filesystem_root = (
"file:///mnt/sdcard/"
if self._printer._settings.get(["device_type"]) in ["X1", "X1C"]
else "file:///"
else "file:///sdcard/"
)
print_command = {