From f1d56a5008b392265203477a547762cb19c82e34 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Tue, 29 Jan 2019 14:30:56 +0000 Subject: [PATCH] Remove newline from genpw output --- bin/genpw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/genpw b/bin/genpw index 4e44852..cce1d68 100755 --- a/bin/genpw +++ b/bin/genpw @@ -29,7 +29,7 @@ def main(): parser.add_option('-n', dest='length', default=LENGTH, type=int) opts, _ = parser.parse_args() - print generate(opts.length) + sys.stdout.write(generate(opts.length)) if __name__ == '__main__':