Commit c87d5322 authored by Dan Pascu's avatar Dan Pascu

Reworded exception message

parent db133a5a
...@@ -651,7 +651,7 @@ class BlinkSession(QObject): ...@@ -651,7 +651,7 @@ class BlinkSession(QObject):
def remove_streams(self, streams): def remove_streams(self, streams):
assert self.state == 'connected' assert self.state == 'connected'
if not set(self.streams).issuperset(streams): if not set(self.streams).issuperset(streams):
raise RuntimeError('not all streams are part of the current session') raise RuntimeError('not all streams are part of the session')
self.sip_session.remove_streams(streams) self.sip_session.remove_streams(streams)
notification_center = NotificationCenter() notification_center = NotificationCenter()
for stream in streams: for stream in streams:
......
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