mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -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"))
|
os.path.expanduser("~/.anki/plugins"))
|
||||||
except:
|
except:
|
||||||
pass
|
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)
|
app = QApplication(sys.argv)
|
||||||
|
|
||||||
import forms
|
import forms
|
||||||
|
|
Loading…
Reference in a new issue