diff --git a/platypush/plugins/media/local.py b/platypush/plugins/media/local.py index 1a0f0e6edf..3f66907349 100644 --- a/platypush/plugins/media/local.py +++ b/platypush/plugins/media/local.py @@ -129,7 +129,7 @@ class LocalMediaSearcher: self.logger.info('Directory {} is no longer accessible, removing it'. format(media_dir)) session.query(MediaDirectory) \ - .filter(MediaDirectory.path=media_dir).delete() + .filter(MediaDirectory.path==media_dir).delete() return stored_file_records = {