--- a/PluginManager/PluginInstallDialog.py Mon Jan 11 17:42:24 2010 +0000 +++ b/PluginManager/PluginInstallDialog.py Mon Jan 11 18:05:51 2010 +0000 @@ -268,7 +268,7 @@ """writeable. Aborting...</p>""").format(destination), \ False - zip = zipfile.ZipFile(archive, "r") + zip = zipfile.ZipFile(archive, "rb") # check, if the archive contains a valid plugin pluginFound = False @@ -287,7 +287,7 @@ False # parse the plugin module's plugin header - pluginSource = zip.read(pluginFileName).decode("utf-8") + pluginSource = Utilities.decode(zip.read(pluginFileName))[0] packageName = "" internalPackages = [] needsRestart = False