mirror of
https://github.com/rommapp/romm.git
synced 2026-03-02 22:47:01 +00:00
fix bug with exclusion criteria
This commit is contained in:
@@ -37,10 +37,8 @@ class DBScreenshotsHandler(DBBaseHandler):
|
||||
|
||||
if exclude_filenames:
|
||||
query = query.filter(
|
||||
or_(
|
||||
Screenshot.file_name.not_in(exclude_filenames),
|
||||
Screenshot.file_name_no_ext.not_in(exclude_filenames),
|
||||
)
|
||||
Screenshot.file_name.not_in(exclude_filenames),
|
||||
Screenshot.file_name_no_ext.not_in(exclude_filenames),
|
||||
)
|
||||
|
||||
return query
|
||||
|
||||
Reference in New Issue
Block a user