Merge pull request #2214 from jumpserver/dev

Dev
This commit is contained in:
老广 2018-12-19 13:57:15 +08:00 committed by GitHub
commit 0e9ebed19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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': '',
}