Spaces around assignment operator

According to UM codestyle

Contributes to CURA-8601
This commit is contained in:
Jelle Spijker 2021-10-05 13:54:13 +02:00
parent 527de2b6ef
commit 501b4c4fde
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A

View file

@ -21,14 +21,14 @@ class CloudFlowMessage(Message):
"resources", "svg", "CloudPlatform.svg"
)
super().__init__(
text=I18N_CATALOG.i18nc("@info:status",
text = I18N_CATALOG.i18nc("@info:status",
f"Your printer <b>{printer_name}</b> could be connected via cloud.\n Manage your print queue and monitor your prints from anywhere connecting your printer to Digital Factory"),
title=I18N_CATALOG.i18nc("@info:title", "Are you ready for cloud printing?"),
image_source=QUrl.fromLocalFile(image_path)
title = I18N_CATALOG.i18nc("@info:title", "Are you ready for cloud printing?"),
image_source = QUrl.fromLocalFile(image_path)
)
self._printer_name = printer_name
self.addAction("get_started", I18N_CATALOG.i18nc("@action", "Get started"), "", "")
self.addAction("learn_more", I18N_CATALOG.i18nc("@action", "Learn more"), "", "", button_style=Message.ActionButtonStyle.LINK, button_align=Message.ActionButtonAlignment.ALIGN_LEFT)
self.addAction("learn_more", I18N_CATALOG.i18nc("@action", "Learn more"), "", "", button_style = Message.ActionButtonStyle.LINK, button_align = Message.ActionButtonAlignment.ALIGN_LEFT)
self.actionTriggered.connect(self._onCloudFlowStarted)