mirror of
https://github.com/rommapp/romm.git
synced 2026-03-03 00:37:00 +00:00
fix bug with exclusion criteria
This commit is contained in:
@@ -37,11 +37,9 @@ 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),
|
||||
)
|
||||
)
|
||||
|
||||
return query
|
||||
|
||||
|
||||
Reference in New Issue
Block a user