From 0e53128981cc39c5a3203610dfdc9012abe44449 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Fri, 9 Aug 2013 21:55:11 +0800 Subject: [PATCH] fix --- nvchecker/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 nvchecker/main.py diff --git a/nvchecker/main.py b/nvchecker/main.py old mode 100644 new mode 100755 index 1a58ca3..c176566 --- a/nvchecker/main.py +++ b/nvchecker/main.py @@ -117,8 +117,8 @@ def main(): def run_test(): config = load_config(*args.files) - if args.current: - g_oldver.update(load_oldverfile(args.current)) + if args.oldver: + g_oldver.update(load_oldverfile(args.oldver)) g_curver.update(g_oldver) get_versions(config)