bug
This commit is contained in:
parent
b3ff42ea8e
commit
d635408021
|
@ -18,7 +18,7 @@ if __name__ == '__main__':
|
||||||
USAGE
|
USAGE
|
||||||
mkcrypt.py clear [salt]"""
|
mkcrypt.py clear [salt]"""
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
elif args[0] == '--':
|
elif len(args) > 0 and args[0] == '--':
|
||||||
args = args[1:]
|
args = args[1:]
|
||||||
|
|
||||||
clpasswd = args[0:1] and args[0] or None
|
clpasswd = args[0:1] and args[0] or None
|
||||||
|
|
Loading…
Reference in New Issue