Helpviewer/DownloadDialog.py

changeset 42
23b45a742e17
parent 13
1af94a91f439
child 96
9624a110667d
--- a/Helpviewer/DownloadDialog.py	Fri Jan 08 19:14:19 2010 +0000
+++ b/Helpviewer/DownloadDialog.py	Sat Jan 09 19:43:36 2010 +0000
@@ -157,7 +157,7 @@
         """
         path = ""
         if self.__reply.hasRawHeader("Content-Disposition"):
-            header = str(self.__reply.rawHeader("Content-Disposition"))
+            header = bytes(self.__reply.rawHeader("Content-Disposition")).decode()
             if header:
                 pos = header.find("filename=")
                 if pos != -1:

eric ide

mercurial