fix(make.py): typo
Anirudh icyph0x@pm.me
Sun, 15 Apr 2018 17:58:59 +0530
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
make.py
→
make.py
@@ -66,6 +66,7 @@ with open(os.path.join(html_file, 'index.html'), 'w') as f:
f.write(output) print(run('Rendered %s.' % (page))) + def server(): handler = http.server.SimpleHTTPRequestHandler os.chdir(BUILD_PATH)@@ -77,7 +78,7 @@ print(white('Ctrl+C') + ' to stop.')
httpd.serve_forever() except KeyboardInterrupt: print(info('Stopping server.')) - http.server_close() + httpd.server_close() sys.exit(1) def main():