diff --git a/resce.py b/resce.py index d6d68d0..7acfecd 100755 --- a/resce.py +++ b/resce.py @@ -464,7 +464,7 @@ def srrdbidentify(crc): if len(str(sys.exc_info()[1])) > 0: print sys.exc_info()[1] - if not response or response['resultsCount'] != '1': + if not response or int(response['resultsCount']) < 1: print 'not found.' return False