Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment