summaryrefslogtreecommitdiffstats
path: root/Demo/cgi/wiki.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/cgi/wiki.py')
-rw-r--r--Demo/cgi/wiki.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/cgi/wiki.py b/Demo/cgi/wiki.py
index f0208a4..58dc51f 100644
--- a/Demo/cgi/wiki.py
+++ b/Demo/cgi/wiki.py
@@ -1,6 +1,6 @@
"""Wiki main program. Imported and run by cgi3.py."""
-import os, re, cgi, sys
+import os, re, cgi, sys, tempfile
escape = cgi.escape
def main():
@@ -16,7 +16,7 @@ def main():
class WikiPage:
- homedir = "/tmp"
+ homedir = tempfile.gettempdir()
scripturl = os.path.basename(sys.argv[0])
def __init__(self, name):