diff --git a/src/asammdf/gui/widgets/gps.py b/src/asammdf/gui/widgets/gps.py index fd6bfdd1c..11e5a9fb0 100644 --- a/src/asammdf/gui/widgets/gps.py +++ b/src/asammdf/gui/widgets/gps.py @@ -93,8 +93,8 @@ def get_zoom(self): def callback(*args): result.append(args[0]) - mapWidget = self.map.getMapWidgetAtIndex(self.map.mapWidgetIndex) - mapWidget.page.runJavaScript("map.getZoom()", self.map.mapWidgetIndex, callback) + map_widget = self.map.getMapWidgetAtIndex(self.map.mapWidgetIndex) + map_widget.page.runJavaScript("map.getZoom()", self.map.mapWidgetIndex, callback) app = QtWidgets.QApplication.instance() diff --git a/tox.ini b/tox.ini index 14b0e84bc..8defc5489 100644 --- a/tox.ini +++ b/tox.ini @@ -45,6 +45,7 @@ base = deps = pyinstaller pyopengl + pyinstaller-hooks-contrib-2024.10 extras = decode encryption