fix init code for db

This commit is contained in:
j 2009-11-20 13:01:39 +01:00
parent 788c88595c
commit 2786c701f0

View file

@ -109,8 +109,8 @@ def _getCacheBase():
def _getCacheDB():
path = _getCacheBase()
if not os.path.exists(os.path.dirname(path)):
os.makedirs(os.path.dirname(path))
if not os.path.exists(path):
os.makedirs(path)
return os.path.join(path, "cache.sqlite")
def _connectDb():