Skip to content

Commit 3d30310

Browse files
committed
flake8 fix
1 parent db92fa2 commit 3d30310

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

omero_figure/views.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,10 @@ def index(request, file_id=None, conn=None, **kwargs):
148148

149149
# update links to static files
150150
static_dir = static.static('omero_figure/')
151-
html = html.replace('href="/omero-figure/assets', 'href="%sassets' % static_dir)
152-
html = html.replace('src="/omero-figure/assets', 'src="%sassets' % static_dir)
151+
html = html.replace('href="/omero-figure/assets',
152+
'href="%sassets' % static_dir)
153+
html = html.replace('src="/omero-figure/assets',
154+
'src="%sassets' % static_dir)
153155
html = html.replace('const STATIC_DIR = "";',
154156
'const STATIC_DIR = "%s";' % static_dir[0:-1])
155157

0 commit comments

Comments
 (0)