2010-09-10 19:04:22 +03:00
|
|
|
diff --git a/makfa b/makfa
|
|
|
|
index 488007e..a19a5c8 100755
|
|
|
|
--- a/makfa
|
|
|
|
+++ b/makfa
|
|
|
|
@@ -485,7 +485,7 @@ class Type(Command):
|
|
|
|
|
|
|
|
class Updater(object):
|
|
|
|
|
|
|
|
- def __init__(self, lang='en', filename=os.path.expanduser('~/makfa.dump')):
|
2010-09-15 05:49:41 +03:00
|
|
|
+ def __init__(self, lang='en', filename='/usr/share/makfa/makfa.dump'):
|
2010-09-10 19:04:22 +03:00
|
|
|
self.db = {'order': [], 'entries': {}}
|
|
|
|
url = 'http://jbovlaste.lojban.org/export/xml-export.html?lang=%s'
|
|
|
|
tree = etree.parse(urllib.urlopen(url % lang))
|
|
|
|
@@ -615,7 +615,7 @@ class Filter(object):
|
|
|
|
|
|
|
|
class Dictionary(object):
|
|
|
|
|
|
|
|
- def __init__(self, filename=os.path.expanduser('~/makfa.dump')):
|
2010-09-15 05:49:41 +03:00
|
|
|
+ def __init__(self, filename='/usr/share/makfa/makfa.dump'):
|
2010-09-10 19:04:22 +03:00
|
|
|
try:
|
|
|
|
self._db = pickle.load(open(filename))
|
|
|
|
except:
|