Fixed setup.py error on filter use as a keyword
This commit is contained in:
parent
a21a11d499
commit
2213455eff
1 changed files with 2 additions and 2 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue