fix travis ci E510

E501 line too long (85 > 79 characters)
This commit is contained in:
maphy-psd 2017-08-20 16:18:39 +02:00 committed by GitHub
parent 7a627e4ad8
commit 82f05e27c3

View File

@ -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(