Skip to content

Commit

Permalink
[fix] Pushbullet: Fixed api key being invalid in Py3, fixes #1320
Browse files Browse the repository at this point in the history
  • Loading branch information
cvium committed Aug 10, 2016
1 parent bc143f5 commit e1d054b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexget/plugins/output/pushbullet.py
Expand Up @@ -131,7 +131,7 @@ def send_push(self, task, api_key, title, body, url=None, destination=None, dest

# Make the request
headers = {
'Authorization': 'Basic %s' % base64.b64encode(api_key.encode('ascii')),
'Authorization': b'Basic %s' % base64.b64encode(api_key.encode('ascii')),
'Content-Type': 'application/json',
'Accept': 'application/json',
'User-Agent': 'Flexget'
Expand Down

0 comments on commit e1d054b

Please sign in to comment.