mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Guard against None transcode_key
This commit is contained in:
parent
98583d139a
commit
d63c0cb469
1 changed files with 3 additions and 1 deletions
|
@ -310,7 +310,9 @@ class ActivityHandler(object):
|
|||
last_state = self.db_session['state']
|
||||
last_rating_key = str(self.db_session['rating_key'])
|
||||
last_live_uuid = self.db_session['live_uuid']
|
||||
last_transcode_key = self.db_session['transcode_key'].split('/')[-1]
|
||||
last_transcode_key = self.db_session['transcode_key']
|
||||
if isinstance(last_transcode_key, str):
|
||||
last_transcode_key = last_transcode_key.split('/')[-1]
|
||||
last_paused = self.db_session['last_paused']
|
||||
last_rating_key_websocket = self.db_session['rating_key_websocket']
|
||||
last_guid = self.db_session['guid']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue