ruff: enable flake8-logging-format rule
This commit is contained in:
parent
ffd1ea58be
commit
9aef60e8fc
@ -105,6 +105,6 @@ def handle(self, *args, **options):
|
||||
try:
|
||||
_, created = Donor.objects.get_or_create(name=name)
|
||||
if created:
|
||||
logger.info(u'Adding donor: {}'.format(name))
|
||||
logger.info('Adding donor: %s', name)
|
||||
except DBError as e:
|
||||
logger.info(u'Error while adding donor: %s, %s', name, e)
|
||||
|
Loading…
Reference in New Issue
Block a user