From aa41597232888de722fd61f92f1dda797df9474d Mon Sep 17 00:00:00 2001 From: Jacob Rief Date: Fri, 11 Oct 2024 11:44:23 +0200 Subject: [PATCH] fix whitespace --- finder/admin/label.py | 1 - finder/contrib/common/admin.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/finder/admin/label.py b/finder/admin/label.py index 9b520becc..195546985 100644 --- a/finder/admin/label.py +++ b/finder/admin/label.py @@ -18,4 +18,3 @@ class Meta: class LabelAdmin(admin.ModelAdmin): form = LabelForm list_display = ['name'] - diff --git a/finder/contrib/common/admin.py b/finder/contrib/common/admin.py index 6938445aa..ce31ed3a7 100644 --- a/finder/contrib/common/admin.py +++ b/finder/contrib/common/admin.py @@ -14,7 +14,7 @@ def get_editor_settings(self, request, inode): settings = super().get_editor_settings(request, inode) settings.update( react_component='Common', - replace_file= True, + replace_file=True, download_file=True, ) return settings @@ -23,7 +23,7 @@ def get_editor_settings(self, request, inode): class PDFFileAdmin(CommonAdmin): def get_editor_settings(self, request, inode): settings = super().get_editor_settings(request, inode) - settings.update(view_original= True) + settings.update(view_original=True) return settings