Skip to content

Commit

Permalink
Chore: fix linter issues with apps
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Cameron <[email protected]>
  • Loading branch information
JasonLovesDoggo committed Oct 2, 2024
1 parent c201122 commit bbb116c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions judge/apps.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import logging

from django.apps import AppConfig
from django.db import DatabaseError
from django.utils.translation import gettext_lazy
import logging

logger = logging.getLogger("judge.apps")
logger = logging.getLogger('judge.apps')


class JudgeAppConfig(AppConfig):
name = 'judge'
Expand All @@ -27,5 +29,4 @@ def ready(self):
profile.save()
logger.info('Created profile for user %s', user)
except DatabaseError as e:
logger.error('Failed to create profiles for users: %s', e)

logger.error('Failed to create profiles for users: %s', e.__traceback__)

0 comments on commit bbb116c

Please sign in to comment.