Properly split and strip words. fixes #137

This commit is contained in:
Ruud
2012-04-25 21:57:47 +02:00
parent 269fc66e4c
commit ac15df31d8
8 changed files with 14 additions and 14 deletions
@@ -11,7 +11,7 @@ class NotifyMyAndroid(Notification):
if self.isDisabled(): return
nma = pynma.PyNMA()
keys = self.conf('api_key').split(',')
keys = [x.strip() for x in self.conf('api_key').split(',')]
nma.addkey(keys)
nma.developerkey(self.conf('dev_key'))