Fixed setup.py error on filter use as a keyword

This commit is contained in:
Fabio Manganiello 2019-02-17 16:30:43 +01:00
parent a21a11d499
commit 2213455eff

View file

@ -128,8 +128,8 @@ class LocalMediaSearcher:
if not os.path.isdir(media_dir): if not os.path.isdir(media_dir):
self.logger.info('Directory {} is no longer accessible, removing it'. self.logger.info('Directory {} is no longer accessible, removing it'.
format(media_dir)) format(media_dir))
session.query(MediaDirectory). \ session.query(MediaDirectory) \
filter(MediaDirectory.path=media_dir).delete() .filter(MediaDirectory.path=media_dir).delete()
return return
stored_file_records = { stored_file_records = {