Add factory to download name (#3040)

This commit is contained in:
Paulus Schoutsen authored and Jesse Hills committed 2022-01-13 21:28:45 +13:00
1 parent c81323ef91
commit d6009453df
1 file changed
+1 -1
+1 -1
View File
@@ -416,7 +416,7 @@ class DownloadBinaryRequestHandler(BaseHandler):
if storage_json is None:
self.send_error(404)
return
filename = f"{storage_json.name}.bin"
filename = f"{storage_json.name}-factory.bin"
path = storage_json.firmware_bin_path.replace(
"firmware.bin", "firmware-factory.bin"
)