diff options
Diffstat (limited to 'python/examples/console.py')
| -rw-r--r-- | python/examples/console.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/python/examples/console.py b/python/examples/console.py index bf82b5f..dfd59f5 100644 --- a/python/examples/console.py +++ b/python/examples/console.py @@ -219,13 +219,13 @@ def _subscribe_command_handler(channel):          print_error(r, ch if ch is not None else channel)      def _disconnect(r): -        print_error("DISCONNECTED", r) +        print_ok("DISCONNECTED", r)      def _reconnect(r): -        print_error("RECONNECTED", r) +        print_ok("RECONNECTED", r)      def _connect(r): -        print_error("CONNECTED", r) +        print_ok("CONNECTED", r)      pubnub.subscribe(channel, _callback, _error, connect=_connect,                       disconnect=_disconnect, reconnect=_reconnect) | 
