ensure postproc finalize() is called during C-c or crash (#355)

pull/359/head
Mike Fährmann 5 years ago
parent 17a3426845
commit 20f7b07312
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -81,7 +81,8 @@ class Job():
"https://github.com/mikf/gallery-dl/issues ."),
exc.__class__.__name__, exc)
log.debug("", exc_info=True)
self.handle_finalize()
finally:
self.handle_finalize()
def dispatch(self, msg):
"""Call the appropriate message handler"""

Loading…
Cancel
Save