aboutsummaryrefslogtreecommitdiffstats
path: root/examples/external/opencv/webcam_pattern_detection.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/external/opencv/webcam_pattern_detection.py')
-rw-r--r--examples/external/opencv/webcam_pattern_detection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/external/opencv/webcam_pattern_detection.py b/examples/external/opencv/webcam_pattern_detection.py
index a3a1e3782..0c55a1333 100644
--- a/examples/external/opencv/webcam_pattern_detection.py
+++ b/examples/external/opencv/webcam_pattern_detection.py
@@ -74,12 +74,12 @@ class Window(QMainWindow):
# Main menu bar
self.menu = self.menuBar()
self.menu_file = self.menu.addMenu("File")
- exit = QAction("Exit", self, triggered=qApp.quit)
+ exit = QAction("Exit", self, triggered=qApp.quit) # noqa: F821
self.menu_file.addAction(exit)
self.menu_about = self.menu.addMenu("&About")
about = QAction("About Qt", self, shortcut=QKeySequence(QKeySequence.HelpContents),
- triggered=qApp.aboutQt)
+ triggered=qApp.aboutQt) # noqa: F821
self.menu_about.addAction(about)
# Create a label for the display camera