stripping newlines from api key

This commit is contained in:
Alan Hamlett 2013-07-02 02:36:30 -07:00
parent b94d8b2834
commit 227b7197d3
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def get_api_key():
for line in cf:
line = line.split('=', 1)
if line[0] == 'api_key':
api_key = line[1]
api_key = line[1].strip()
cf.close()
except IOError:
pass