4 Mar
2015
4 Mar
'15
9:15 p.m.
# HG changeset patch # User Zachary T Welch zach@mandolincreekfarm.com # Fake Node ID 03cbbe8e442df0f3fd004a5c00ae4ff81329a2b0
Use logging in idrp.py (#2347)
diff --git a/chirp/drivers/idrp.py b/chirp/drivers/idrp.py index 3ba3f9b..f7c115d 100644 --- a/chirp/drivers/idrp.py +++ b/chirp/drivers/idrp.py @@ -30,7 +30,7 @@ def parse_frames(buf): start = buf.index("\xfe\xfe") end = buf[start:].index("\xfd") + start + 1 except Exception: - print "Unable to parse frames" + LOG.error("Unable to parse frames") break
frames.append(buf[start:end])