Skip to content

Commit

Permalink
Fix condition in denonciation_batch (#1633)
Browse files Browse the repository at this point in the history
  • Loading branch information
syldb authored Oct 31, 2024
1 parent 9c4ea86 commit 655840a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conventions/management/commands/denonciation_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def handle(self, *args, **options):
numeros = options["numeros"]
dates = options["dates"]

if len(numeros) == len(dates):
if len(numeros) != len(dates):
self.stdout.write(
self.style.ERROR(
f"There must be the same number of numeros ({len(numeros)}) and dates ({len(dates)})"
Expand Down

0 comments on commit 655840a

Please sign in to comment.