mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
fix travis ci E510
E501 line too long (85 > 79 characters)
This commit is contained in:
parent
7a627e4ad8
commit
82f05e27c3
@ -71,7 +71,8 @@ class DocumentAdmin(CommonAdmin):
|
|||||||
|
|
||||||
def thumbnail(self, obj):
|
def thumbnail(self, obj):
|
||||||
if settings.FORCE_SCRIPT_NAME:
|
if settings.FORCE_SCRIPT_NAME:
|
||||||
src_link = "{}/fetch/thumb/{}".format(settings.FORCE_SCRIPT_NAME, obj.id)
|
src_link = "{}/fetch/thumb/{}".format(
|
||||||
|
settings.FORCE_SCRIPT_NAME, obj.id)
|
||||||
else:
|
else:
|
||||||
src_link = "/fetch/thumb/{}".format(obj.id)
|
src_link = "/fetch/thumb/{}".format(obj.id)
|
||||||
png_img = self._html_tag(
|
png_img = self._html_tag(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user