Update plugins/UM3NetworkPrinting/src/Messages/PrintJobAwaitingApprovalMessage.py

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
This commit is contained in:
Joey de l'Arago 2022-08-26 10:14:36 +02:00 committed by GitHub
parent 0993dc99f9
commit 119fb32681
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ class PrintJobPendingApprovalMessage(Message):
self.actionTriggered.connect(self._onActionTriggered)
def _onActionTriggered(self, message: Message, action: str):
def _onActionTriggered(self, message: Message, action: str) -> None:
""" Callback function for the "Manage print jobs" button on the pending approval notification. """
match action:
case "manage_print_jobs":