Commit e79b6d1c authored by Evan Simpson's avatar Evan Simpson

Make client caches respect CLIENT_HOME

parent 88c9cabe
......@@ -144,7 +144,7 @@ file 0 and file 1.
"""
__version__ = "$Revision: 1.13 $"[11:-2]
__version__ = "$Revision: 1.14 $"[11:-2]
import os, tempfile
from struct import pack, unpack
......@@ -164,6 +164,8 @@ class ClientCache:
if client:
# Create a persistent cache
if var is None:
try: var=CLIENT_HOME
except:
try: var=os.path.join(INSTANCE_HOME,'var')
except: var=os.getcwd()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment