Skip to content

Commit

Permalink
avoid underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhrisca committed Oct 11, 2024
1 parent 9454229 commit a2dc682
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/asammdf/gui/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ class QWorkerThread(QtCore.QThread):
setMaximum = QtCore.Signal(int)
setValue = QtCore.Signal(int)

_SIGNALS = namedtuple(
"_SIGNALS",
SIGNALS_TEMPLATE = namedtuple(
"SIGNALS_TEMPLATE",
[
"finished",
"error",
Expand All @@ -263,7 +263,7 @@ def __init__(self, function, *args, **kwargs):
self.function = function
self.args = args

self.signals = self._SIGNALS(
self.signals = self.SIGNALS_TEMPLATE(
self.finished,
self.error,
self.result,
Expand Down

0 comments on commit a2dc682

Please sign in to comment.