Skip to content

Commit 3342054

Browse files
committed
made string interpolation work with python <= 3.6
1 parent 70e51ac commit 3342054

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Diff for: flask_graphql/render_graphiql.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939
width: 100%;
4040
}
4141
'''
42-
T2 = f'''
42+
T2 = '''
4343
</style>
4444
<meta name="referrer" content="no-referrer">
45-
<style> { graphiql_css } </style>
46-
<script> { fetch_min_js } </script>
47-
<script> { react_min_js } </script>
48-
<script> { react_dom_min_js } </script>
49-
<script> { graphiql_min_js } </script>
50-
'''
45+
<style> %s </style>
46+
<script> %s </script>
47+
<script> %s </script>
48+
<script> %s </script>
49+
<script> %s </script>
50+
''' % (graphiql_css, fetch_min_js, react_min_js, react_dom_min_js, graphiql_min_js)
5151

5252
T3 = '''
5353
</head>

0 commit comments

Comments
 (0)