mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
attempted fix for wrong args error
This commit is contained in:
parent
faccf424b7
commit
2a5accfed1
@ -19,7 +19,7 @@ class ApiAttribute(object):
|
||||
if obj.dirty.get(self.name) is not None:
|
||||
obj.dirty[self.name] = True
|
||||
|
||||
def __del__(self, obj):
|
||||
def __del__(self, obj=None):
|
||||
"""Delete value of this attribute."""
|
||||
del obj.attr[self.name]
|
||||
if obj.dirty.get(self.name) is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user