Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

accomodate to binary static files

  • Loading branch information...
commit 34f7b317e3093ac207f460f5cc6eff4dfeb5341a 1 parent e6dc8c9
@akariv authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  processors/emitters/static_file_formatter.py
View
1  processors/emitters/static_file_formatter.py
@@ -14,3 +14,4 @@ def format(self):
real_path = self.token.path[:-len(self.STATIC_SUFFIX)]
statics = internal_find( real_path, fields=["static-files"] ).get("static-files",{})
self.token.content_type, self.token.response = statics.get(self.token.slug,("text/html",""))
+ self.token.response = self.token.response.decode('base64')
Please sign in to comment.
Something went wrong with that request. Please try again.