From 2a5accfed1a0219720a82e29fa4269f61629450a Mon Sep 17 00:00:00 2001 From: Rob Weber Date: Tue, 26 May 2015 08:43:21 -0500 Subject: [PATCH] attempted fix for wrong args error --- resources/lib/pydrive/apiattr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/pydrive/apiattr.py b/resources/lib/pydrive/apiattr.py index 891956d..a97f214 100644 --- a/resources/lib/pydrive/apiattr.py +++ b/resources/lib/pydrive/apiattr.py @@ -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: