issue #1 : policygen.py did not respect the --maxdigit value

This commit is contained in:
philsmd 2016-03-01 12:15:01 +01:00
parent 5311d5cbb1
commit 83ebbfcc82

View File

@ -185,7 +185,7 @@ if __name__ == "__main__":
if options.minlower != None: policygen.minlower = options.minlower
if options.minupper != None: policygen.minupper = options.minupper
if options.minspecial != None: policygen.minspecial = options.minspecial
if options.maxdigit != None: policygen.maxdigits = options.maxdigit
if options.maxdigit != None: policygen.maxdigit = options.maxdigit
if options.maxlower != None: policygen.maxlower = options.maxlower
if options.maxupper != None: policygen.maxupper = options.maxupper
if options.maxspecial != None: policygen.maxspecial = options.maxspecial