Skip to content
Permalink
Browse files

f-strings not available in 2.7

  • Loading branch information...
RobinD42 committed Jul 30, 2019
1 parent 7eb5d66 commit bf56c9b9b0a842e0b914c383fe6d296858955067
Showing with 4 additions and 4 deletions.
  1. +4 −4 setup-wxsvg.py
@@ -34,10 +34,10 @@
PACKAGEDIR = 'wx/svg'

with open(os.path.join(HERE, PACKAGEDIR, '_version.py'), 'w') as f:
f.write(textwrap.dedent(f"""\
# Generated from {__file__}
__version__ = '{VERSION}'
"""))
f.write(textwrap.dedent("""\
# Generated from {}
__version__ = '{}'
""".format(__file__, VERSION)))

if have_cython:
SOURCE = os.path.join(PACKAGEDIR, '_nanosvg.pyx')

0 comments on commit bf56c9b

Please sign in to comment.
You can’t perform that action at this time.