Browse Source

Fix typo in content disposition header

fieldOfView 5 years ago
parent
commit
01f5956871
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/PrinterOutput/NetworkedPrinterOutputDevice.py

+ 1 - 1
cura/PrinterOutput/NetworkedPrinterOutputDevice.py

@@ -154,7 +154,7 @@ class NetworkedPrinterOutputDevice(PrinterOutputDevice):
         part = QHttpPart()
 
         if not content_header.startswith("form-data;"):
-            content_header = "form_data; " + content_header
+            content_header = "form-data; " + content_header
         part.setHeader(QNetworkRequest.ContentDispositionHeader, content_header)
 
         if content_type is not None: