From 82f05e27c326a9c0ad5bcf21746e23cb5336ad14 Mon Sep 17 00:00:00 2001 From: maphy-psd Date: Sun, 20 Aug 2017 16:18:39 +0200 Subject: [PATCH] fix travis ci E510 E501 line too long (85 > 79 characters) --- src/documents/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/documents/admin.py b/src/documents/admin.py index 718901f47..16f544fb6 100644 --- a/src/documents/admin.py +++ b/src/documents/admin.py @@ -71,7 +71,8 @@ class DocumentAdmin(CommonAdmin): def thumbnail(self, obj): 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: src_link = "/fetch/thumb/{}".format(obj.id) png_img = self._html_tag(