From 9e2352d2ad902b2d0e7072e347dfd687b1f561b8 Mon Sep 17 00:00:00 2001 From: jakewaldron Date: Thu, 3 Mar 2016 11:18:38 -0800 Subject: [PATCH] Bug Fix * New --version option was always being fired --- scripts/plexEmail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/plexEmail.py b/scripts/plexEmail.py index 157b422..5df00ee 100644 --- a/scripts/plexEmail.py +++ b/scripts/plexEmail.py @@ -772,7 +772,7 @@ def createWebHTML(): parser.add_argument('--version', help='Display the version of the script file', action='store_true') args = vars(parser.parse_args()) -if ('version' in args): +if ('version' in args and args['version']): print 'Script Version: ' + SCRIPT_VERSION sys.exit()