mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
try tor emove error in pydrive
This commit is contained in:
parent
97a977c721
commit
032a772a81
@ -21,9 +21,10 @@ class ApiAttribute(object):
|
|||||||
|
|
||||||
def __del__(self, obj=None):
|
def __del__(self, obj=None):
|
||||||
"""Delete value of this attribute."""
|
"""Delete value of this attribute."""
|
||||||
del obj.attr[self.name]
|
if(obj != None):
|
||||||
if obj.dirty.get(self.name) is not None:
|
del obj.attr[self.name]
|
||||||
del obj.dirty[self.name]
|
if obj.dirty.get(self.name) is not None:
|
||||||
|
del obj.dirty[self.name]
|
||||||
|
|
||||||
|
|
||||||
class ApiAttributeMixin(object):
|
class ApiAttributeMixin(object):
|
||||||
|
Loading…
Reference in New Issue
Block a user