From 6dc67f13c8da29102c2932515dda1cea45a7f335 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 14 Aug 2019 10:59:21 +1000 Subject: [PATCH] svg: call the super constructor Presumably gobject sets a few things up, so let's call it. Signed-off-by: Peter Hutterer --- tuhi/gui/svg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tuhi/gui/svg.py b/tuhi/gui/svg.py index 13fdd8a..4b13940 100644 --- a/tuhi/gui/svg.py +++ b/tuhi/gui/svg.py @@ -22,6 +22,7 @@ DATA_PATH = os.path.join(xdg.BaseDirectory.xdg_data_home, 'tuhi', 'svg') class JsonSvg(GObject.Object): def __init__(self, json, orientation, *args, **kwargs): + super().__init__(*args, **kwargs) self.json = json try: os.mkdir(DATA_PATH)