Commit 08bc92b1 authored by Guillaume Seguin's avatar Guillaume Seguin

Don't print automatic reports in pronsole

parent fdee2c3a
......@@ -1201,7 +1201,8 @@ class pronsole(cmd.Cmd):
if report_type == REPORT_TEMP:
self.status.update_tempreading(l)
tstring = l.rstrip()
if tstring != "ok" and not self.listing and not self.monitoring:
if tstring != "ok" and not self.listing \
and not self.monitoring and report_type == REPORT_NONE:
if tstring[:5] == "echo:":
tstring = tstring[5:].lstrip()
if self.silent is False: print "\r" + tstring.ljust(15)
......
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