forked from platypush/platypush
Token moved to pushbullet section
This commit is contained in:
parent
aa52872485
commit
fd68c7b4da
2 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
|||
pushbullet_token: o.EHMMnZneJdpNQv9FSFbyY2busin7floe
|
||||
pushbullet:
|
||||
token: o.EHMMnZneJdpNQv9FSFbyY2busin7floe
|
||||
device: turing # Virtual PushBullet device linked to notifier
|
||||
|
||||
# device_id: <your_device_id> (default: hostname)
|
||||
# debug: True (default: False)
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ config = {}
|
|||
with open(config_file,'r') as f:
|
||||
config = yaml.load(f)
|
||||
|
||||
API_KEY = config['pushbullet_token']
|
||||
API_KEY = config['pushbullet']['token']
|
||||
DEVICE_ID = config['device_id'] \
|
||||
if 'device_id' in config else socket.gethostname()
|
||||
|
||||
|
|
Loading…
Reference in a new issue