From f85549eda60da52c7de415185aeaf2f937ecaae4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Einar=20J=C3=B8rgen=20Haraldseid?= Date: Thu, 14 Feb 2019 22:16:49 +0100 Subject: [PATCH 1/1] quit function should reference self --- example1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example1.py b/example1.py index ad21708..1d7cfa3 100755 --- a/example1.py +++ b/example1.py @@ -33,7 +33,7 @@ class Main: self.pipeline.set_state(Gst.State.PLAYING) # We want a graceful shutdown on CTRL+C - def quit(signal, frame): + def quit(self, *args): print("stopping") exit(0) -- 2.30.2