PEP fixes

This commit is contained in:
Oliver Walters 2020-04-07 11:40:10 +10:00
parent 95032141ce
commit d06018cbbe
3 changed files with 2 additions and 4 deletions

View File

@ -6,6 +6,7 @@ from django.apps import AppConfig
from django.db.utils import OperationalError, ProgrammingError
from django.conf import settings
class CompanyConfig(AppConfig):
name = 'company'
@ -33,4 +34,3 @@ class CompanyConfig(AppConfig):
company.image.render_variations(replace=False)
except (OperationalError, ProgrammingError):
print("Could not generate Company thumbnails")

View File

@ -17,7 +17,6 @@ from django.db.models import Sum
from django.apps import apps
from django.urls import reverse
from django.conf import settings
from markdownx.models import MarkdownxField

View File

@ -10,7 +10,6 @@ import os
from django.utils.translation import gettext_lazy as _
from django.core.exceptions import ValidationError
from django.urls import reverse
from django.conf import settings
from django.db import models, transaction
from django.db.models import Sum