From fff4283f73b446766d5dbd81bb71b9089cd42b2b Mon Sep 17 00:00:00 2001 From: lelicopter Date: Wed, 24 Feb 2016 12:05:32 +1000 Subject: [PATCH] Bug correction Bug correction of parsing cmdline parameters --- bin/uncompyle6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/uncompyle6 b/bin/uncompyle6 index f73a639b..dc7f62fb 100755 --- a/bin/uncompyle6 +++ b/bin/uncompyle6 @@ -92,13 +92,13 @@ for opt, val in opts: options['showgrammar'] = True elif opt == '-o': outfile = val - elif opt == ('--timestamp', '-d'): + elif opt in ('--timestamp', '-d'): timestamp = True elif opt == '-c': codes.append(val) elif opt == '-p': numproc = int(val) - elif opt == ('--recurse', '-r'): + elif opt in ('--recurse', '-r'): recurse_dirs = True else: print(opt, file=sys.stderr)