mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 13:41:15 -07:00
Decode script args when logging to database
This commit is contained in:
parent
f9f05be978
commit
ae49b08e19
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ def set_notify_state(notifier, notify_action, subject='', body='', script_args='
|
|||
|
||||
session = session or {}
|
||||
|
||||
script_args = json.dumps(script_args) if script_args else None
|
||||
script_args = json.dumps([s.decode(plexpy.SYS_ENCODING) for s in script_args]) if script_args else None
|
||||
|
||||
keys = {'timestamp': int(time.time()),
|
||||
'session_key': session.get('session_key', None),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue