From ad16224628a74df97b1ed38518a473bbaa03f877 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 21 Oct 2019 16:55:30 +0100 Subject: [PATCH] Argument type --- posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts.py b/posts.py index c4143581..2c4afbc2 100644 --- a/posts.py +++ b/posts.py @@ -114,7 +114,7 @@ def cleanHtml(rawHtml: str) -> str: text = BeautifulSoup(rawHtml, 'html.parser').get_text() return html.unescape(text) -def getUserUrl(wfRequest) -> str: +def getUserUrl(wfRequest: {}) -> str: if wfRequest.get('links'): for link in wfRequest['links']: if link.get('type') and link.get('href'):