renamed logger

This commit is contained in:
Jonas Winkler
2020-11-02 18:54:27 +01:00
parent a89773ad71
commit 2a530accf7
2 changed files with 7 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import logging
class PaperlessLogger(logging.StreamHandler):
class PaperlessHandler(logging.Handler):
def emit(self, record):
# We have to do the import here or Django will barf when it tries to
# load this because the apps aren't loaded at that point