Skip to content

Commit

Permalink
Small fix in compare function print message on identical results
Browse files Browse the repository at this point in the history
  • Loading branch information
doc78 committed Nov 7, 2024
1 parent 05a684b commit eecb95a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lisfloodutilities/compare/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ def main(cliargs):
errors+=errors2
errors+=errors3

if errors!=None:
if len(errors)!=0:
for i, e in enumerate(errors):
logger.error('%d - %s', i, e)
logger.info('%d - %s', i, e)
else:
logger.info('No differences in Datasets %s and %s', dataset_a, dataset_b)

Expand Down

0 comments on commit eecb95a

Please sign in to comment.