mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 22:05:56 +08:00
Always set finish flag when finalizing post_reply
CURA-4398
This commit is contained in:
parent
daad5a3a97
commit
f10397acf9
@ -527,12 +527,12 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
|
|||||||
self._last_request_time = time()
|
self._last_request_time = time()
|
||||||
|
|
||||||
def _finalizePostReply(self):
|
def _finalizePostReply(self):
|
||||||
if self._post_reply is None:
|
|
||||||
return
|
|
||||||
|
|
||||||
# Indicate uploading was finished (so another file can be send)
|
# Indicate uploading was finished (so another file can be send)
|
||||||
self._write_finished = True
|
self._write_finished = True
|
||||||
|
|
||||||
|
if self._post_reply is None:
|
||||||
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
self._post_reply.uploadProgress.disconnect(self._onUploadProgress)
|
self._post_reply.uploadProgress.disconnect(self._onUploadProgress)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user