fix the 0 comparison
@@ -2677,7 +2677,7 @@ class ResourceFile(ResourceFileIRODSMixin):
return self.content_object
def size(self):
- if self._size is 0:
+ if self._size == 0:
self.calculate_size
return self._size
