Rename exception variable in makeAlert

This commit is contained in:
Veronica Berglyd Olsen
2023-08-13 19:23:03 +02:00
parent 863dcf8b37
commit fd181b18a6
4 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class MockGuiMain(QObject):
def postLaunchTasks(self, cmdOpen):
return
def makeAlert(self, text, info="", detals="", level=0, exception=None):
def makeAlert(self, text, info="", detals="", level=0, exc=None):
assert isinstance(text, str)
print("%s: %s" % (str(level), text))
self.lastAlert = str(text)