From 227b7197d3a0e46bfff25459d0a15076d8345191 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Tue, 2 Jul 2013 02:36:30 -0700 Subject: [PATCH] stripping newlines from api key --- sublime-wakatime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sublime-wakatime.py b/sublime-wakatime.py index 76665e3..b354b96 100644 --- a/sublime-wakatime.py +++ b/sublime-wakatime.py @@ -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