Skip to content

Commit

Permalink
馃挌 CI: Fixed condition logic bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiTronix committed Jul 27, 2023
1 parent 3ed1fd2 commit c861b17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ async def test_webgear_rtc_class(source, stabilize, colorspace, time_delay):
await offer_pc.close()
web.shutdown()
except Exception as e:
if source is None or not isinstance(e, MediaStreamError):
if source and not isinstance(e, MediaStreamError):
pytest.fail(str(e))


Expand Down

0 comments on commit c861b17

Please sign in to comment.