##// END OF EJS Templates
fixed creation of cache data dir, on first run
marcink -
r550:342f8434 default
parent child Browse files
Show More
@@ -28,7 +28,12 b' Base = declarative_base()'
28 28 #===============================================================================
29 29 # CACHE OPTIONS
30 30 #===============================================================================
31 cache_dir = jn(dn(dn(dn(abspath(__file__)))), 'data', 'cache')
31 cache_base = jn(dn(dn(dn(abspath(__file__)))), 'data')
32 cache_dir = jn(cache_base, 'cache')
33
34 if not os.path.isdir(cache_base):
35 os.mkdir(cache_base)
36
32 37 if not os.path.isdir(cache_dir):
33 38 os.mkdir(cache_dir)
34 39 # set start_time to current time
General Comments 0
You need to be logged in to leave comments. Login now