mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52: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):
|
||||
if isWin:
|
||||
os.environ['HOME'] = os.environ['APPDATA']
|
||||
p = "~/.anki/config.db"
|
||||
elif isMac:
|
||||
p = "~/Library/Application Support/Anki/config.db"
|
||||
|
|
Loading…
Reference in a new issue