CC-2279: Upgrade script for converting stor directory to new format

-escape strings before inserting into database
This commit is contained in:
martin 2011-07-14 21:31:02 -04:00
parent 07b1686643
commit ec75af194b
2 changed files with 4 additions and 4 deletions

View file

@ -237,7 +237,7 @@ class MediaMonitorCommon:
filepath = self.create_file_path(pathname, file_md)
self.logger.debug(u"Moving from %s to %s", pathname, filepath)
#self.move_file(pathname, filepath)
self.move_file(pathname, filepath)
else:
filepath = None
self.logger.warn("File %s, has invalid metadata", pathname)