diff --git a/nw/gui/wordlist.py b/nw/gui/wordlist.py index 5ce377cc..0d3e3072 100644 --- a/nw/gui/wordlist.py +++ b/nw/gui/wordlist.py @@ -156,9 +156,9 @@ class GuiWordList(QDialog): for i in range(self.listBox.count()): outFile.write(self.listBox.item(i).text() + "\n") - except Exception as e: + except Exception: logger.error("Could not save new word list") - logger.error(str(e)) + nw.logException() self.reject() if os.path.isfile(dctFile):