mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
we should be reading the config from appdata
This commit is contained in:
parent
4d6c727d7b
commit
f86f6c5bd0
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ class Upgrader(object):
|
||||||
|
|
||||||
def _oldConfigPath(self):
|
def _oldConfigPath(self):
|
||||||
if isWin:
|
if isWin:
|
||||||
|
os.environ['HOME'] = os.environ['APPDATA']
|
||||||
p = "~/.anki/config.db"
|
p = "~/.anki/config.db"
|
||||||
elif isMac:
|
elif isMac:
|
||||||
p = "~/Library/Application Support/Anki/config.db"
|
p = "~/Library/Application Support/Anki/config.db"
|
||||||
|
|
Loading…
Reference in a new issue