mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
Merge branch 'pydrive_fix'
This commit is contained in:
commit
9add0b2981
@ -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