fix for python 2.6

This commit is contained in:
2017-01-25 16:31:56 -05:00
parent 1ee46fd446
commit 5dfc860e1e
+1 -1
View File
@@ -10,7 +10,7 @@ def format_toml(data):
for i, line in enumerate(data):
if i > 0:
if line.startswith('['):
data[i] = '\n{}'.format(line)
data[i] = '\n{0}'.format(line)
return '\n'.join(data)