Commit d2368836 authored by Thomas Tsiakalakis's avatar Thomas Tsiakalakis

fixed typo

parent 156cc31e
......@@ -101,7 +101,7 @@ class Server(BaseHTTPRequestHandler):
return process(post_data, self)
def process(payload, http):
is_svg = http.headers('content-type') == 'image/svg+xml'
is_svg = http.headers['content-type'] == 'image/svg+xml'
try:
image = render(payload, is_svg)
except OSError as e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment