Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #349 -- Fixed bug in development server admin media on Windows.…

… Thanks, ibatugow@gmail.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c6e4b232c275b2f0da5d3f88d4ca708319eead0c 1 parent d80ac5a
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/servers/basehttp.py
View
2  django/core/servers/basehttp.py
@@ -623,7 +623,7 @@ def __call__(self, environ, start_response):
output = ['Page not found: %s' % file_path]
else:
try:
- fp = open(file_path, 'r')
+ fp = open(file_path, 'rb')
except IOError:
status = '401 UNAUTHORIZED'
headers = {'Content-type': 'text/plain'}
Please sign in to comment.
Something went wrong with that request. Please try again.