uploader: fix env var parsing

This commit is contained in:
Shane Smiskol
2025-10-20 11:40:03 -07:00
parent 7534b2a160
commit 3ef5037c16
+1 -1
View File
@@ -29,7 +29,7 @@ MAX_UPLOAD_SIZES = {
"qcam": 5*1e6,
}
allow_sleep = bool(os.getenv("UPLOADER_SLEEP", "1"))
allow_sleep = bool(int(os.getenv("UPLOADER_SLEEP", "1")))
force_wifi = os.getenv("FORCEWIFI") is not None
fake_upload = os.getenv("FAKEUPLOAD") is not None