mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
ignore old config.db.old too
This commit is contained in:
parent
e6ec61b301
commit
92ae00aae3
1 changed files with 5 additions and 1 deletions
|
@ -88,7 +88,11 @@ def run():
|
|||
os.path.expanduser("~/.anki/plugins"))
|
||||
except:
|
||||
pass
|
||||
os.rename(oldConf, oldConf.replace("config.db", "config.db.old"))
|
||||
try:
|
||||
os.rename(oldConf, oldConf.replace("config.db",
|
||||
"config.db.old"))
|
||||
except:
|
||||
pass
|
||||
app = QApplication(sys.argv)
|
||||
|
||||
import forms
|
||||
|
|
Loading…
Reference in a new issue