diff options
Diffstat (limited to 'gemini.py')
-rw-r--r-- | gemini.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,7 +19,8 @@ def gem2html(gem: str) -> str: parser = fsm.Parser(gem.split('\n'), html) parser.parse() html.write('</div>\n</body>\n</html>') - print(html.getvalue()) + with open('latest.html', 'w') as fp: + fp.write(html.getvalue()) return html.getvalue() |