Remove newline from genpw output
This commit is contained in:
parent
eb59de6d52
commit
f1d56a5008
|
@ -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__':
|
||||||
|
|
Loading…
Reference in a new issue