mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 19:45:57 +08:00
Make QNetworkReply optional
This commit is contained in:
parent
8ad8489af0
commit
8453cd693e
@ -195,7 +195,7 @@ class NetworkClient:
|
||||
## Does a POST request with form parts to the given URL.
|
||||
def postFormWithParts(self, target: str, parts: List[QHttpPart],
|
||||
on_finished: Optional[Callable[[QNetworkReply], None]],
|
||||
on_progress: Callable = None) -> QNetworkReply:
|
||||
on_progress: Callable = None) -> Optional[QNetworkReply]:
|
||||
self._validateManager()
|
||||
|
||||
request = self._createEmptyRequest(target, content_type = None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user