diff options
author | Runxi Yu <me@runxiyu.org> | 2024-05-11 21:58:13 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-05-11 21:58:13 +0800 |
commit | d43b80da6e6bd1e0a7c6cbf0b499806b27fc97b7 (patch) | |
tree | fdf8c5e3fa2cb10d541d33b15bc79e075ebc15c7 | |
parent | 5f27c6ca2445ab8c0ec6baa4820acbcd42146f08 (diff) | |
download | www-d43b80da6e6bd1e0a7c6cbf0b499806b27fc97b7.tar.gz |
hybrid.cgi: Use /srv/fb
-rwxr-xr-x | hybrid.cgi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hybrid.cgi b/hybrid.cgi index dc4cb08..8fc7695 100755 --- a/hybrid.cgi +++ b/hybrid.cgi @@ -3,8 +3,9 @@ import sys import os import cgi -import cgitb -cgitb.enable() +import pathlib + +FBDIR="/srv/fb" CONTENT_LENGTH = os.environ["CONTENT_LENGTH"] CONTENT_TYPE = os.environ["CONTENT_TYPE"] |