mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix mac config upgrade
This commit is contained in:
parent
b62f7e847b
commit
4b7b6b7a3c
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Config(dict):
|
|||
if not os.path.exists(self.configPath):
|
||||
self.makeAnkiDir()
|
||||
newDb = self.getDbPath()
|
||||
os.path.rename(oldDb, newDb)
|
||||
os.rename(oldDb, newDb)
|
||||
if not os.path.exists(self.configPath):
|
||||
self.makeAnkiDir()
|
||||
self.load()
|
||||
|
|
Loading…
Reference in a new issue