X Tutup
Skip to content

Commit fff4283

Browse files
committed
Bug correction
Bug correction of parsing cmdline parameters
1 parent 551e217 commit fff4283

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/uncompyle6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ for opt, val in opts:
9292
options['showgrammar'] = True
9393
elif opt == '-o':
9494
outfile = val
95-
elif opt == ('--timestamp', '-d'):
95+
elif opt in ('--timestamp', '-d'):
9696
timestamp = True
9797
elif opt == '-c':
9898
codes.append(val)
9999
elif opt == '-p':
100100
numproc = int(val)
101-
elif opt == ('--recurse', '-r'):
101+
elif opt in ('--recurse', '-r'):
102102
recurse_dirs = True
103103
else:
104104
print(opt, file=sys.stderr)

0 commit comments

Comments
 (0)
X Tutup