Skip to content

Commit

Permalink
Bug Fix
Browse files Browse the repository at this point in the history
* New --version option was always being fired
  • Loading branch information
jakewaldron committed Mar 3, 2016
1 parent fc73439 commit 9e2352d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/plexEmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 9e2352d

Please sign in to comment.