always clear plugin cache on windows

This commit is contained in:
Damien Elmes 2010-12-07 18:09:30 +09:00
parent f164d9e478
commit 7916d336e6

View file

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