Skip to content
Snippets Groups Projects
Commit cdde4f3e authored by ale's avatar ale
Browse files

fix is null query

parent 5cdf014d
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ class Fingerprinter(object):
def compute_fingerprints(self, run_once):
"""Compute fingerprints of new files."""
while True:
mp3 = MP3.query.filter(MP3.echoprint_fp.null()
mp3 = MP3.query.filter(MP3.echoprint_fp == None
).limit(1).first()
if not mp3:
if run_once:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment