mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +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:
|
if obj.dirty.get(self.name) is not None:
|
||||||
obj.dirty[self.name] = True
|
obj.dirty[self.name] = True
|
||||||
|
|
||||||
def __del__(self, obj):
|
def __del__(self, obj=None):
|
||||||
"""Delete value of this attribute."""
|
"""Delete value of this attribute."""
|
||||||
del obj.attr[self.name]
|
del obj.attr[self.name]
|
||||||
if obj.dirty.get(self.name) is not None:
|
if obj.dirty.get(self.name) is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user