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>
This commit is contained in:
parent
32091d9a7b
commit
6dc67f13c8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue