Cleanup of unused imports

This commit is contained in:
Veronica K. B. Olsen
2020-08-08 20:55:45 +02:00
parent a47c212b79
commit a9b6e00ba7
12 changed files with 16 additions and 17 deletions
+2 -2
View File
@@ -76,9 +76,9 @@ def exceptionHandler(exType, exValue, exTrace):
"""Function to catch unhandled global exceptions.
"""
import logging
from traceback import print_tb, format_tb
from traceback import print_tb
from nw import CONFIG
from PyQt5.QtWidgets import qApp, QApplication, QErrorMessage, QMessageBox
from PyQt5.QtWidgets import qApp, QErrorMessage
logger = logging.getLogger(__name__)
logger.error("%s: %s" % (exType.__name__, str(exValue)))