Commit 0919c591 authored by Matt Traudt's avatar Matt Traudt Committed by Matt Traudt
Browse files

Update forgotten pwgen main func with no more log argument

parent 8f36fa10
......@@ -26,10 +26,8 @@ def rand_str():
return s
def main(args, conf, log_):
global log
def main(args, conf):
global rng
log = log_
rng = random.SystemRandom()
with open(args.output, 'wt') as fd:
fd.write(rand_str() + '\n')
Supports Markdown
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