diff options
| author | Georg Brandl <georg@python.org> | 2010-01-01 14:10:48 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-01-01 14:10:48 +0100 |
| commit | a03764f9ad900d31ff87f2a1bf3aa818399995f7 (patch) | |
| tree | e153175b38cabd835ec31b6fb49e5d2da5b9bad3 /sphinx/theming.py | |
| parent | d79e012aaecfb68ee5e09ce6a1c3971d5d605847 (diff) | |
| parent | 23cd8a9f62d9c4d8ec6e46165c42b2268c485bbe (diff) | |
| download | sphinx-a03764f9ad900d31ff87f2a1bf3aa818399995f7.tar.gz | |
merge with 0.6
Diffstat (limited to 'sphinx/theming.py')
| -rw-r--r-- | sphinx/theming.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/theming.py b/sphinx/theming.py index 27a1c26a..0d0f2863 100644 --- a/sphinx/theming.py +++ b/sphinx/theming.py @@ -78,7 +78,7 @@ class Theme(object): 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() |
