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()