mpd-not: enable https cert checking
This commit is contained in:
parent
07eb3aabe8
commit
f539df064c
|
@ -69,7 +69,7 @@ def notify_song():
|
||||||
last_np = np
|
last_np = np
|
||||||
logger.debug("notifying: {0:s}".format(np))
|
logger.debug("notifying: {0:s}".format(np))
|
||||||
payload = {'message': np}
|
payload = {'message': np}
|
||||||
r = requests.post(args.location, verify=False, auth=auth, data=payload)
|
r = requests.post(args.location, auth=auth, data=payload)
|
||||||
print(r.json())
|
print(r.json())
|
||||||
|
|
||||||
notify_song()
|
notify_song()
|
||||||
|
|
Loading…
Reference in New Issue