Commit 5d47bebb authored by ibuler's avatar ibuler

[Bugfix] 修复录像bug

parent a9a1bae8
...@@ -119,7 +119,7 @@ class SessionReplayViewSet(viewsets.ViewSet): ...@@ -119,7 +119,7 @@ class SessionReplayViewSet(viewsets.ViewSet):
session = get_object_or_404(Session, id=session_id) session = get_object_or_404(Session, id=session_id)
data = { data = {
'type': 'guacamole' if self.session.protocol == 'rdp' else 'json', 'type': 'guacamole' if session.protocol == 'rdp' else 'json',
'src': '', 'src': '',
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment