Rename exception variable in makeAlert

This commit is contained in:
Veronica Berglyd Olsen committed 2023-08-13 19:23:03 +02:00
1 parent 863dcf8b37
commit fd181b18a6
4 files changed
+11 -13

No files matched your search

+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)