Skip to content

Commit 366dbe1

Browse files
committed
fix breaking issue
1 parent 2a2055d commit 366dbe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yflive/streamer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def _run(self):
112112
on_open = _ws_open)
113113
self._websocket.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE})
114114
except (Exception, KeyboardInterrupt, SystemExit) as e:
115-
_streamer._callback(_streamer.on_error, (error))
115+
self._callback(self.on_error, (e))
116116
if isinstance(e, SystemExit):
117117
# propagate SystemExit further
118118
raise

0 commit comments

Comments
 (0)