From c82f0f480e9395801df4fbf5099aaee671bd226b Mon Sep 17 00:00:00 2001 From: lars Date: Tue, 9 Feb 2021 21:14:14 +0000 Subject: [PATCH] htman: add cgi wrapper --- htman/htman.cgi | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 htman/htman.cgi diff --git a/htman/htman.cgi b/htman/htman.cgi new file mode 100755 index 0000000..3ad105c --- /dev/null +++ b/htman/htman.cgi @@ -0,0 +1,10 @@ +#!/usr/bin/env python3 + + +import os +import sys +sys.path.insert(0, os.path.dirname(__file__)) + +from htman import bottle + +bottle.run(server='cgi')