mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
don't import unicode paths on win32
This commit is contained in:
parent
19ec6b2a1b
commit
bacaf4a3a8
1 changed files with 2 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue