Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Apr 11, 2024
1 parent 1861791 commit d4b75ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion georiviere/river/management/commands/load_rivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

0 comments on commit d4b75ca

Please sign in to comment.