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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/external/opencv/webcam_pattern_detection.py b/examples/external/opencv/webcam_pattern_detection.py
index 4325fc810..4f02f8d4f 100644
--- a/examples/external/opencv/webcam_pattern_detection.py
+++ b/examples/external/opencv/webcam_pattern_detection.py
@@ -103,7 +103,7 @@ class Thread(QThread):
class Window(QMainWindow):
def __init__(self):
- QMainWindow.__init__(self)
+ super().__init__()
# Title and dimensions
self.setWindowTitle("Patterns detection")
self.setGeometry(0, 0, 800, 500)