Skip to content

Commit c9fe0ca

Browse files
committed
Also fix import in the error handler
1 parent 1437659 commit c9fe0ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

novelwriter/error.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ def setMessage(self, exType, exValue, exTrace):
112112
"""
113113
from traceback import format_tb
114114
from novelwriter import __issuesurl__, __version__
115-
from PyQt5.Qt import PYQT_VERSION_STR
116-
from PyQt5.QtCore import QT_VERSION_STR, QSysInfo
115+
from PyQt5.QtCore import QT_VERSION_STR, PYQT_VERSION_STR, QSysInfo
117116

118117
self.msgHead.setText((
119118
"<p>An unhandled error has been encountered.</p>"

0 commit comments

Comments
 (0)