we should be reading the config from appdata

This commit is contained in:
Damien Elmes 2011-12-20 19:36:41 +09:00
parent 4d6c727d7b
commit f86f6c5bd0

View file

@ -31,6 +31,7 @@ class Upgrader(object):
def _oldConfigPath(self):
if isWin:
os.environ['HOME'] = os.environ['APPDATA']
p = "~/.anki/config.db"
elif isMac:
p = "~/Library/Application Support/Anki/config.db"