diff options
author | Frederick Yin <fkfd@macaw.me> | 2020-06-13 23:00:48 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@macaw.me> | 2020-06-13 23:00:48 +0800 |
commit | c84755a652ed4459ae53f51f04de11756ca376d2 (patch) | |
tree | ba7793275592763ffe00a4ac39c2a6e47fdd5f39 /git-gmi | |
parent | 89d16bb05a61936658ae2939d57e2c3e5f726a6b (diff) |
Separate CGI executable from cgi.py
Diffstat (limited to 'git-gmi')
-rwxr-xr-x | git-gmi/cgi | 3 | ||||
-rw-r--r--[-rwxr-xr-x] | git-gmi/cgi.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/git-gmi/cgi b/git-gmi/cgi new file mode 100755 index 0000000..c0e0d25 --- /dev/null +++ b/git-gmi/cgi @@ -0,0 +1,3 @@ +#!/home/fakefred/p/git.gmi/venv/bin/python3.8 +# gotta change the executable path before running +import cgi.py
\ No newline at end of file diff --git a/git-gmi/cgi.py b/git-gmi/cgi.py index c243ccd..9f0e1a9 100755..100644 --- a/git-gmi/cgi.py +++ b/git-gmi/cgi.py @@ -1,5 +1,3 @@ -#!/home/fakefred/p/git.gmi/venv/bin/python3.8 -# gotta change the executable path before running from git import * from const import * from os import environ, listdir |