This commit is contained in:
Jephté Clain 2014-02-25 08:58:04 +04:00
parent b3ff42ea8e
commit d635408021
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ if __name__ == '__main__':
USAGE
mkcrypt.py clear [salt]"""
sys.exit(0)
elif args[0] == '--':
elif len(args) > 0 and args[0] == '--':
args = args[1:]
clpasswd = args[0:1] and args[0] or None