mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06:00
Always set finish flag when finalizing post_reply
CURA-4398
This commit is contained in:
parent
daad5a3a97
commit
f10397acf9
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue