From 6dd40e5cc469cf85cb8d5db5a138cc8efa379fae Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 23 Aug 2020 14:25:09 +0200 Subject: [PATCH] cli.py: fix Options code --- morss/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/cli.py b/morss/cli.py index 08c2c99..8ad6cca 100644 --- a/morss/cli.py +++ b/morss/cli.py @@ -41,7 +41,7 @@ def cli_app(): group.add_argument('--noref', action='store_true', help='drop items\' link') group.add_argument('--silent', action='store_true', help='don\'t output the final RSS (useless on its own, but can be nice when debugging)') - options = Options(parser.parse_args()) + options = Options(vars(parser.parse_args())) url = options.url global DEBUG