CC-3749: Media Monitor should not load files pypo cannot read

-fixed
This commit is contained in:
Martin Konecny 2012-05-04 13:50:38 -04:00
parent e13d06df45
commit 7e9d1a3308
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class MediaMonitorCommon:
def is_readable(self, item, is_dir):
try:
return self.is_user_readable(item, 'www-data', 'www-data') \
and not self.is_user_readable(item, 'pypo', 'pypo'):
and not self.is_user_readable(item, 'pypo', 'pypo')
except Exception, e:
self.logger.warn("Failed to check owner/group/permissions for %s", item)
return False