fix errors

master
Jan Danielzick 2022-04-05 02:42:42 +02:00
parent 1779e464e8
commit aff67740f8
1 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,9 @@ HYPERTEXT=$("$PYHP" "$PYH" | python3 - "$@")
# check for headers, if present assume the pyh file is going to handle them
if head -n1 <<< "$HYPERTEXT" | grep "[A-Za-z][A-Za-z0-9\-]*: "; then
;
true
else
echo -ne "Content-type: text/html\\n\\n"
fi
echo "$HYPERTEXT"