Commits

Martin von Löwis committed 80a6bac

Open _get streams in binary mode.

Comments (0)

Files changed (1)

         return open(self._fn(self.module_path, resource_name), 'rb')
 
     def _get(self, path):
-        stream = open(path, 'rb')
+        stream = open(path, 'rU')
         try:
             return stream.read()
         finally: