diff --git a/georiviere/river/management/commands/load_rivers.py b/georiviere/river/management/commands/load_rivers.py index 905c4983..38a8668c 100644 --- a/georiviere/river/management/commands/load_rivers.py +++ b/georiviere/river/management/commands/load_rivers.py @@ -51,7 +51,7 @@ def handle(self, *args, **options): try: Stream.objects.bulk_create(batch, batch_size) self.stdout.write(self.style.SUCCESS(" ok!")) - except Exception as e: + except Exception: self.stdout.write(self.style.ERROR(" error!")) self.stdout.write(self.style.SUCCESS(f"Successfully import {total_count} rivers and associated morphologies / status"))