Skip to content

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

small fixes

Jonas Winklere59696efd4ea
diff --git a/src/paperless/checks.py b/src/paperless/checks.py
index bc03cb6bc..b39822128 100644
--- a/src/paperless/checks.py
+++ b/src/paperless/checks.py
@@ -72,11 +72,11 @@ def binaries_check(app_configs, **kwargs):
@register()
def debug_mode_check(app_configs, **kwargs):
if settings.DEBUG:
- return [Warning("DEBUG mode is enabled. Disable Debug mode. "
- "This is a serious security "
- "issue, since it puts security overides in place which"
- "are meant to be only used during development. This"
- "also means that paperless will tell anyone various"
- "debugging information when something goes wrong.")]
+ return [Warning(
+ "DEBUG mode is enabled. Disable Debug mode. This is a serious "
+ "security issue, since it puts security overides in place which "
+ "are meant to be only used during development. This "
+ "also means that paperless will tell anyone various "
+ "debugging information when something goes wrong.")]
else:
return []
diff --git a/src/paperless_mail/models.py b/src/paperless_mail/models.py
index 506882e6b..95dbc1bc1 100644
--- a/src/paperless_mail/models.py
+++ b/src/paperless_mail/models.py
@@ -1,8 +1,5 @@
from django.db import models
-# Create your models here.
-from django.db import models
-
import documents.models as document_models