aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/src/tui/utils
diff options
context:
space:
mode:
authorArturo FilastoĢ€ <hellais@torproject.org>2011-08-19 15:54:47 +0200
committerArturo FilastoĢ€ <hellais@torproject.org>2011-08-19 15:54:47 +0200
commit61ed2b6b5c7605a9faf4ad531d7dc3f1eb1b1f2d (patch)
tree468eb81492dcdf661af641b89199bce8840e66c2 /packages/torouter-web/src/tui/utils
parent45c581baf28c673e20edb5af58da780311847fbb (diff)
downloadtorouter-61ed2b6b5c7605a9faf4ad531d7dc3f1eb1b1f2d.tar.gz
torouter-61ed2b6b5c7605a9faf4ad531d7dc3f1eb1b1f2d.zip
Write to /var/tmp
Diffstat (limited to 'packages/torouter-web/src/tui/utils')
-rw-r--r--packages/torouter-web/src/tui/utils/fileio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/torouter-web/src/tui/utils/fileio.py b/packages/torouter-web/src/tui/utils/fileio.py
index 87c6362..aea5462 100644
--- a/packages/torouter-web/src/tui/utils/fileio.py
+++ b/packages/torouter-web/src/tui/utils/fileio.py
@@ -3,7 +3,7 @@ import os
def write(files):
tmpfiles = []
for file in files:
- tmpfile = "/tmp/" + file[0].split("/")[-1:][0] + ".tmp"
+ tmpfile = "/var/tmp/" + file[0].split("/")[-1:][0] + ".tmp"
tmpfiles.append((tmpfile,file[0]))
# open the tmp file for write
f = open(tmpfile, 'w')