Merge pull request #2213 from jumpserver/bugfix

[Bugfix] 修复录像bug
pull/2214/head
老广 2018-12-19 13:56:30 +08:00 committed by GitHub
commit 4a3327bc4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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': '',
}