From b66be24149f46b5c2b31d2f0f5f0b3842567b115 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 20 Apr 2015 18:14:47 +1200 Subject: [PATCH] Fix call signature in pathoc. --- libpathod/pathoc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpathod/pathoc.py b/libpathod/pathoc.py index db58394df..0d8ec8f94 100644 --- a/libpathod/pathoc.py +++ b/libpathod/pathoc.py @@ -205,7 +205,7 @@ class Pathoc(tcp.TCPClient): r, self.wfile, self.settings, - requets_host = self.address.host + request_host = self.address.host ) self.wfile.flush() resp = list( @@ -290,7 +290,7 @@ def main(args): # pragma: nocover ) if args.explain or args.memo: playlist = [ - i.freeze(p.settings, p.address.host) for i in playlist + i.freeze(p.settings, request_host=p.address.host) for i in playlist ] if args.memo: newlist = []