Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Code cleanup

Daniel Quinn6c3afd21b948
diff --git a/src/documents/forms.py b/src/documents/forms.py
index 5f965a1c6..3cdef448e 100644
--- a/src/documents/forms.py
+++ b/src/documents/forms.py
@@ -8,7 +8,6 @@ from django import forms
from django.conf import settings
from .models import Document, Correspondent
-from .consumer import Consumer
class UploadForm(forms.Form):
diff --git a/src/paperless/middleware.py b/src/paperless/middleware.py
index 8fed7da8f..58cdad65c 100644
--- a/src/paperless/middleware.py
+++ b/src/paperless/middleware.py
@@ -2,7 +2,7 @@ from django.utils.deprecation import MiddlewareMixin
from .models import User
-class Middleware (MiddlewareMixin):
+class Middleware(MiddlewareMixin):
"""
This is a dummy authentication middleware class that creates what
is roughly an Anonymous authenticated user so we can disable login