Applied review comments

Contributes to CURA-8418
This commit is contained in:
jelle Spijker 2021-07-28 11:32:29 +02:00 committed by Jelle Spijker
parent 2e6a488c98
commit b6665f1142
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
11 changed files with 12 additions and 15 deletions

View file

@ -11,7 +11,7 @@ class PrintJobUploadErrorMessage(Message):
"""Message shown when uploading a print job to a cluster failed."""
def __init__(self, message: str = None) -> None:
super(PrintJobUploadErrorMessage, self).__init__(
super().__init__(
text = message or I18N_CATALOG.i18nc("@info:text", "Could not upload the data to the printer."),
title = I18N_CATALOG.i18nc("@info:title", "Network error"),
message_type=Message.MessageType.ERROR