mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Fix enum to FormDataType
Stupid enum change... Contributes to issue CURA-9119.
This commit is contained in:
parent
70fdffb1c9
commit
d1d45b4f41
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ class NetworkedPrinterOutputDevice(PrinterOutputDevice):
|
||||||
on_progress: Optional[Callable[[int, int], None]] = None) -> QNetworkReply:
|
on_progress: Optional[Callable[[int, int], None]] = None) -> QNetworkReply:
|
||||||
self._validateManager()
|
self._validateManager()
|
||||||
request = self._createEmptyRequest(target, content_type=None)
|
request = self._createEmptyRequest(target, content_type=None)
|
||||||
multi_post_part = QHttpMultiPart(QHttpMultiPart.FormDataType)
|
multi_post_part = QHttpMultiPart(QHttpMultiPart.ContentType.FormDataType)
|
||||||
for part in parts:
|
for part in parts:
|
||||||
multi_post_part.append(part)
|
multi_post_part.append(part)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue