Remove newline from genpw output

This commit is contained in:
Scott Wallace 2019-01-29 14:30:56 +00:00
parent eb59de6d52
commit f1d56a5008

View file

@ -29,7 +29,7 @@ def main():
parser.add_option('-n', dest='length', default=LENGTH, type=int) parser.add_option('-n', dest='length', default=LENGTH, type=int)
opts, _ = parser.parse_args() opts, _ = parser.parse_args()
print generate(opts.length) sys.stdout.write(generate(opts.length))
if __name__ == '__main__': if __name__ == '__main__':