Files
snootgame.xyz/cancer/downloads.py
Michael Yick 60f996394b Total site rewrite
Still a work in progress, still needs the following:
* Character bios added to the spanish definition area
* the entire cancer folder removed
* Validation that the static content (css and images) works properly
* A section shilling cavemanon.xyz as our main site
* Some visual improvements in the downloads section

However, for now, it's actually maintainable, and likely can be ported
to our other game sites as well for translation purposes.
2023-07-06 14:06:31 -05:00

13 lines
277 B
Python
Executable File

#!/usr/bin/python
import cgi
import cgitb
cgitb.enable()
storage = open("downloads.txt", 'a+')
storage.write(str(1))
storage.close()
print("Content-Type: text/html\n\n")
with open("download.html", 'r+') as downloads:
for line in downloads.readlines():
print(line)