htman: add cgi wrapper
This commit is contained in:
parent
953cb2f935
commit
c82f0f480e
1 changed files with 10 additions and 0 deletions
10
htman/htman.cgi
Executable file
10
htman/htman.cgi
Executable file
|
@ -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')
|
Loading…
Reference in a new issue