From d63540802135f257948c8a265baa6715c7d81d12 Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Tue, 25 Feb 2014 08:58:04 +0400 Subject: [PATCH] bug --- ulib/support/mkcrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ulib/support/mkcrypt.py b/ulib/support/mkcrypt.py index a67664a..07b589b 100755 --- a/ulib/support/mkcrypt.py +++ b/ulib/support/mkcrypt.py @@ -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