CC-3770: Make sure files in /srv/airtime/stor have world-readable permissions.

-fix silly regression
This commit is contained in:
Martin Konecny 2012-05-07 14:39:54 -04:00
parent 1d245ed79d
commit ece93ac054
2 changed files with 6 additions and 6 deletions

View file

@ -314,7 +314,7 @@ class MediaMonitorCommon:
self.logger.debug("Moving from %s to %s", pathname, filepath)
self.move_file(pathname, filepath)
if not self.mmc.make_readable(filepath):
if not self.make_readable(filepath):
self.logger.warn("Couldn't make filepath %s readable", pathname)
filepath = None
else: