From 3b23ac653f289d13c365821eaaae20080b46d781 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 2 Sep 2014 20:49:29 +0100 Subject: [PATCH] Fix issues with using a config file --- standings/cli.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/standings/cli.py b/standings/cli.py index 04aeb0d..4c8d327 100644 --- a/standings/cli.py +++ b/standings/cli.py @@ -30,9 +30,8 @@ def main(): parser.add_argument('--template', help='Location of a customized template to use instead of the default') ns = parser.parse_args() - print ns - if 'keyid' in ns or 'vcode' in ns: + if ns.keyid and ns.vcode: conf = ns else: if ns.config: