From 4b7b6b7a3cfbcaa3ef02003d794be8a9374e0fb1 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 15 Nov 2008 02:48:24 +0900 Subject: [PATCH] fix mac config upgrade --- ankiqt/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankiqt/config.py b/ankiqt/config.py index 823125915..9c92f40e2 100644 --- a/ankiqt/config.py +++ b/ankiqt/config.py @@ -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()