svg: call the super constructor

Presumably gobject sets a few things up, so let's call it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
pull/164/head
Peter Hutterer 2019-08-14 10:59:21 +10:00
parent 32091d9a7b
commit 6dc67f13c8
1 changed files with 1 additions and 0 deletions

View File

@ -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)