get rid of newline chars when reading password file

release1.5.1
Francesc Esplugas 11 years ago committed by James Cammarata
parent fbf500ba1f
commit 14b4cb60d6

@ -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):

Loading…
Cancel
Save