Fix linting errors in the main code

This commit is contained in:
Veronica Berglyd Olsen
2025-04-07 17:18:43 +02:00
parent dab48d43a5
commit 8ed3bd889d
66 changed files with 434 additions and 344 deletions
+4 -4
View File
@@ -124,10 +124,10 @@ class GuiLipsum(NDialog):
@classmethod
def getLipsum(cls, parent: QWidget) -> str:
"""Pop the dialog and return the lipsum text."""
cls = GuiLipsum(parent)
cls.exec()
text = cls.lipsumText
cls.softDelete()
dialog = cls(parent)
dialog.exec()
text = dialog.lipsumText
dialog.softDelete()
return text
##