mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Make QNetworkReply optional
This commit is contained in:
parent
8ad8489af0
commit
8453cd693e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue