mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-10-04 01:52:42 -05:00
Runs the pre-commit hooks over all the Python files
This commit is contained in:
@@ -14,7 +14,11 @@ class StandardPagination(PageNumberPagination):
|
||||
class FaviconView(View):
|
||||
def get(self, request, *args, **kwargs):
|
||||
favicon = os.path.join(
|
||||
os.path.dirname(__file__), "static", "paperless", "img", "favicon.ico"
|
||||
os.path.dirname(__file__),
|
||||
"static",
|
||||
"paperless",
|
||||
"img",
|
||||
"favicon.ico",
|
||||
)
|
||||
with open(favicon, "rb") as f:
|
||||
return HttpResponse(f, content_type="image/x-icon")
|
||||
|
Reference in New Issue
Block a user