This commit is contained in:
Yuxin Wu
2020-06-27 17:34:52 -07:00
parent 394b1d75aa
commit b295d62f41
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -52,6 +52,6 @@ if __name__ == '__main__':
assert output_file.endswith(".html")
basename = output_file[:-5]
for idx, html in enumerate(htmls):
with open(basename + '.{}'.format(idx) + '.html', 'w') as f:
with open(basename + f'{idx:02d}.html', 'w') as f:
f.write(html)
res.emoji_cache.flush()