diff --git a/integrator/office/base.py b/integrator/office/base.py index 9e131bc..e6cc54b 100644 --- a/integrator/office/base.py +++ b/integrator/office/base.py @@ -87,7 +87,7 @@ class OfficeFile(ExternalFileAdapter): except IOError, e: from logging import getLogger self.logger.warn(e) - return + return [] if self.propFileName not in zf.namelist(): self.logger.warn('Custom properties not found in file %s.' % self.externalAddress)