1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

typo: fix typo after rename!

This commit is contained in:
Ilya Kreymer 2016-10-20 11:47:06 -07:00
parent 40b0a291a9
commit 3f8480c37e

View File

@ -266,7 +266,7 @@ class RewriteContent(object):
if text_type is None:
return (status_headers, self.stream_to_gen(stream), False)
if ((text_type == 'html' and urlrewriter.rewrite_opts.get('ajax')) or
if ((text_type == 'html' and urlrewriter.rewrite_opts.get('is_ajax')) or
(text_type == 'plain' and not mod in ('js_', 'cs_'))):
rewritten_headers.readd_rewrite_removed()
return (status_headers, self.stream_to_gen(stream), False)