Show More
@@ -28,7 +28,12 b' Base = declarative_base()' | |||||
28 | #=============================================================================== |
|
28 | #=============================================================================== | |
29 | # CACHE OPTIONS |
|
29 | # CACHE OPTIONS | |
30 | #=============================================================================== |
|
30 | #=============================================================================== | |
31 |
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 | if not os.path.isdir(cache_dir): |
|
37 | if not os.path.isdir(cache_dir): | |
33 | os.mkdir(cache_dir) |
|
38 | os.mkdir(cache_dir) | |
34 | # set start_time to current time |
|
39 | # set start_time to current time |
General Comments 0
You need to be logged in to leave comments.
Login now