mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
always clear plugin cache on windows
This commit is contained in:
parent
f164d9e478
commit
7916d336e6
1 changed files with 1 additions and 1 deletions
|
@ -2606,7 +2606,7 @@ This deck already exists on your computer. Overwrite the local copy?"""),
|
|||
return os.path.join(dir, "plugins")
|
||||
|
||||
def loadPlugins(self):
|
||||
if self.appUpdated:
|
||||
if sys.platform.startswith("win32"):
|
||||
self.clearPluginCache()
|
||||
plugdir = self.pluginsFolder()
|
||||
sys.path.insert(0, plugdir)
|
||||
|
|
Loading…
Reference in a new issue