Fix if condition
This commit is contained in:
parent
18bf67317e
commit
6405beaeba
@ -280,7 +280,7 @@ class Bitrot(object):
|
|||||||
|
|
||||||
update_sha512_integrity()
|
update_sha512_integrity()
|
||||||
|
|
||||||
if len(errors) > 0:
|
if errors:
|
||||||
raise BitrotException(
|
raise BitrotException(
|
||||||
1, 'There were {} errors found.'.format(len(errors)), errors,
|
1, 'There were {} errors found.'.format(len(errors)), errors,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user