[Bugfix] 修复录像bug

pull/2213/head
ibuler 2018-12-19 13:55:49 +08:00
parent a9a1bae805
commit 5d47bebb6b
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class SessionReplayViewSet(viewsets.ViewSet):
session = get_object_or_404(Session, id=session_id)
data = {
'type': 'guacamole' if self.session.protocol == 'rdp' else 'json',
'type': 'guacamole' if session.protocol == 'rdp' else 'json',
'src': '',
}