Commit 6e49ee6c by James Tanner

Remove commented code block

parent 288c33e2
......@@ -80,10 +80,7 @@ class LookupModule(object):
pathdir = os.path.dirname(path)
if not os.path.isdir(pathdir):
os.makedirs(pathdir)
"""
chars = ascii_letters + digits + ".,:-_"
password = utils.random_password(length)
"""
chars = "".join([getattr(string,c,c) for c in use_chars]).replace('"','').replace("'",'')
password = ''.join(random.choice(chars) for _ in range(length))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment