diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 61c04f687..e05aedc65 100755 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -2620,6 +2620,8 @@ This deck already exists on your computer. Overwrite the local copy?"""), def pluginsFolder(self): dir = self.config.configPath + if sys.platform.startswith("win32"): + dir = dir.encode(sys.getfilesystemencoding()) return os.path.join(dir, "plugins") def loadPlugins(self):