PluginManager/PluginRepositoryDialog.py

changeset 75
035e71f2edcd
parent 50
a36eecf45b2e
child 80
166d5df6337c
diff -r f0c0e4638a0f -r 035e71f2edcd PluginManager/PluginRepositoryDialog.py
--- a/PluginManager/PluginRepositoryDialog.py	Sun Jan 17 18:36:52 2010 +0000
+++ b/PluginManager/PluginRepositoryDialog.py	Sun Jan 17 19:16:21 2010 +0000
@@ -502,7 +502,7 @@
         if not zipfile.is_zipfile(archive):
             return False
         
-        zip = zipfile.ZipFile(archive, "rb")
+        zip = zipfile.ZipFile(archive, "r")
         try:
             aversion = zip.read("VERSION").decode("utf-8")
         except KeyError:
@@ -644,4 +644,4 @@
                 ).format(applPath),
                 self.trUtf8('OK'))
         
-        self.close()
\ No newline at end of file
+        self.close()

eric ide

mercurial