aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2009-12-25 19:26:22 -0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2009-12-25 19:26:22 -0200
commit34197c559e42d4df561c97de5d90850bb25c89d2 (patch)
tree39c3b7602ef86ea8f05ee995e78a866c55ef1318 /g_octave/config.py
parentminor fixes (diff)
downloadg-octave-34197c559e42d4df561c97de5d90850bb25c89d2.tar.gz
g-octave-34197c559e42d4df561c97de5d90850bb25c89d2.tar.bz2
g-octave-34197c559e42d4df561c97de5d90850bb25c89d2.zip
small fix on g_octave/config.py; added "Download Page" section to
README.rst
Diffstat (limited to 'g_octave/config.py')
-rw-r--r--g_octave/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/g_octave/config.py b/g_octave/config.py
index 2a31524..ff5891e 100644
--- a/g_octave/config.py
+++ b/g_octave/config.py
@@ -43,13 +43,13 @@ class Config(object):
if not fetch_phase:
# Cache (JSON)
- cache_file = os.path.join(self.__getattr__('db'), 'cache.json')
+ cache_file = os.path.join(__db, 'cache.json')
fp = open(cache_file)
self.__cache = json.load(fp)
fp.close()
# JSON
- json_file = os.path.join(self.__getattr__('db'), self.__cache['files']['info.json'])
+ json_file = os.path.join(__db, self.__cache['files']['info.json'])
fp = open(json_file)
self.__info = json.load(fp)
fp.close()