Fix if condition

This commit is contained in:
Philip Lundrigan 2016-07-14 08:28:05 -06:00
parent 18bf67317e
commit 6405beaeba

View File

@ -280,7 +280,7 @@ class Bitrot(object):
update_sha512_integrity()
if len(errors) > 0:
if errors:
raise BitrotException(
1, 'There were {} errors found.'.format(len(errors)), errors,
)