Skip to content

Commit

Permalink
Merge pull request #1165 from girder/fix-thumbnail-query-typo
Browse files Browse the repository at this point in the history
Fix thumbnail query typo
  • Loading branch information
zachmullen authored May 22, 2023
2 parents 2c44ebe + c0fd230 commit db3b41a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion girder/girder_large_image/models/image_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def removeThumbnailFiles(self, item, keep=0, sort=None, imageKey=None,
}
if imageKey and key == 'isLargeImageThumbnail':
if imageKey == 'none':
query['thumbnailKey'] = {'not': {'$regex': '"imageKey":'}}
query['thumbnailKey'] = {'$not': {'$regex': '"imageKey":'}}
else:
query['thumbnailKey'] = {'$regex': '"imageKey":"%s"' % imageKey}
query.update(kwargs)
Expand Down

0 comments on commit db3b41a

Please sign in to comment.