From 52ccc2e6765809654eb5e5e30d28710434b67211 Mon Sep 17 00:00:00 2001 From: Dom Rodriguez Date: Tue, 13 Sep 2022 20:19:03 +0100 Subject: [PATCH] Explicitly define the return type of get_url_from_feed(config) This commit explicitly defines the return type of the get_url_from_feed(config) function. Signed-off-by: Dom Rodriguez --- rssingle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rssingle.py b/rssingle.py index f1862bd..d7a804a 100755 --- a/rssingle.py +++ b/rssingle.py @@ -45,7 +45,7 @@ def setup_logging() -> None: return None -def get_url_from_feed(config): +def get_url_from_feed(config) -> str: """ This function returns the URL from a feed. """