From 85ff0d93b651d91d9ccfe42a9f35c6ac8af61c4d Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Fri, 12 Oct 2012 12:23:37 +1300 Subject: [PATCH] stuff --- plugins/password.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/password.py b/plugins/password.py index 3332875..e19a6e0 100755 --- a/plugins/password.py +++ b/plugins/password.py @@ -11,7 +11,7 @@ def password(inp, notice=None): # find the length needed for the password numb = inp.split(" ") - + try: length = int(numb[0]) except ValueError: @@ -38,7 +38,7 @@ def password(inp, notice=None): okay = okay + list(string.ascii_lowercase) password = "" - + # generates password for x in range(length): password = password + random.choice(okay)