fix: unused vars removed

This commit is contained in:
cr0hn
2016-02-26 13:04:49 +01:00
parent ad4e1ef1b0
commit 6d160278da

View File

@@ -87,7 +87,7 @@ def handle_html(config, content):
insert_point = doc_root.find(".//script[last()]") insert_point = doc_root.find(".//script[last()]")
if insert_point is not None: if insert_point is not None:
results = add_injection(config, doc_root, insert_point, where="before") results = add_injection(config, doc_root, insert_point)
else: else:
# Try to find othe entry # Try to find othe entry
@@ -108,12 +108,7 @@ def handle_html(config, content):
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
def add_injection(config, doc_root, insert_point, where="after"): def add_injection(config, doc_root, insert_point):
"""
:param where: posible values: after|before
:type where: str
"""
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# Add the injection Payload # Add the injection Payload