="bp">self</span><span class="o">.</span><span class="n">ntrip_client</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span><span class="p">:</span>
                    <span class="c1"># If the NTRIP Client&#39;s stream has been closed, restart it.</span>
                    <span class="k">if</span> <span class="ow">not</span> <span class="bp">self</span><span class="o">.</span><span class="n">ntrip_client</span><span class="o">.</span><span class="n">is_streaming</span