Browse Source

Fix enum to FormDataType

Stupid enum change...

Contributes to issue CURA-9119.
Ghostkeeper 2 years ago
parent
commit
d1d45b4f41
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/PrinterOutput/NetworkedPrinterOutputDevice.py

+ 1 - 1
cura/PrinterOutput/NetworkedPrinterOutputDevice.py

@@ -290,7 +290,7 @@ class NetworkedPrinterOutputDevice(PrinterOutputDevice):
                           on_progress: Optional[Callable[[int, int], None]] = None) -> QNetworkReply:
         self._validateManager()
         request = self._createEmptyRequest(target, content_type=None)
-        multi_post_part = QHttpMultiPart(QHttpMultiPart.FormDataType)
+        multi_post_part = QHttpMultiPart(QHttpMultiPart.ContentType.FormDataType)
         for part in parts:
             multi_post_part.append(part)