This website works better with JavaScript.
Home
Explore
Help
Sign In
cas
/
hackernamegen
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix binary file read
master
Cassowary
2 years ago
parent
08338dc881
commit
107665e133
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
hackersite.wsgi
+ 1
- 1
hackersite.wsgi
View File
@@ -47,7 +47,7 @@ def statics(bobo_request, f):
if content_type is not None:
response.content_type = content_type
try:
response.body = open(pth, "r").read()
response.body = open(pth, "r
b
").read()
except IOError:
raise bobo.NotFound
return response
Write
Preview
Loading…
Cancel
Save