Skip to content

Commit

Permalink
Merge pull request #6 from alfredodev/patch-1
Browse files Browse the repository at this point in the history
Changed open mode in handlers.py
  • Loading branch information
jgraham committed Apr 29, 2014
2 parents 7e74997 + 4b530ed commit 601cf5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wptserve/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def load_headers(self, path):
return []

def get_data(self, response, path, byte_ranges):
with open(path) as f:
with open(path , 'rb') as f:
if byte_ranges is None:
return f.read()
else:
Expand Down

0 comments on commit 601cf5e

Please sign in to comment.