Commits

mitsuhiko  committed f620256

Write theme information payload binary, not as text. Otherwise windows users will be unhappy.

  • Participants
  • Parent commits 47aec24

Comments (0)

Files changed (1)

File sphinx/theming.py

                 dirname = path.dirname(name)
                 if not path.isdir(path.join(self.themedir, dirname)):
                     os.makedirs(path.join(self.themedir, dirname))
-                fp = open(path.join(self.themedir, name), 'w')
+                fp = open(path.join(self.themedir, name), 'wb')
                 fp.write(tinfo.read(name))
                 fp.close()