Update psudohash.py
This commit is contained in:
parent
f75e97367b
commit
f0c182c721
@ -65,7 +65,10 @@ def unique(l):
|
|||||||
# Append numbering
|
# Append numbering
|
||||||
if args.numbering_limit and not args.append_numbering:
|
if args.numbering_limit and not args.append_numbering:
|
||||||
exit_with_msg('Option -nl must be used with -an.')
|
exit_with_msg('Option -nl must be used with -an.')
|
||||||
|
|
||||||
|
if args.append_numbering <= 0:
|
||||||
|
exit_with_msg('Numbering level must be > 0.')
|
||||||
|
|
||||||
_max = args.numbering_limit + 1 if args.numbering_limit and isinstance(args.numbering_limit, int) else 51
|
_max = args.numbering_limit + 1 if args.numbering_limit and isinstance(args.numbering_limit, int) else 51
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user