Fixed named argument name 'fragment'

pull/21/head
Mišo Belica 11 years ago
parent 8f3ebf0950
commit bd084a8e28

@ -62,7 +62,7 @@ def main():
with open(resource, "r") as file:
content = file.read()
document = Article(content, url=url, fragment=args["--fragment"])
document = Article(content, url=url, return_fragment=args["--fragment"])
if args["--browser"]:
html_file = NamedTemporaryFile(mode="w", suffix=".html", delete=False)

Loading…
Cancel
Save