Commit 14b4cb60 by Francesc Esplugas Committed by James Cammarata

get rid of newline chars when reading password file

parent fbf500ba
......@@ -105,6 +105,8 @@ def _read_password(filename):
f = open(filename, "rb")
data = f.read()
f.close
# get rid of newline chars
data = data.strip()
return data
def execute_create(args, options, parser):
......
Markdown is supported
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