diff --git a/adsl.py b/adsl.py index 4589dda..d0da955 100644 --- a/adsl.py +++ b/adsl.py @@ -32,7 +32,7 @@ def _start_pppd(): def _get_pppd_pid(): for pid, process in _get_process_list(): - if process.startswith("pppd"): + if process.startswith("/usr/sbin/pppd"): return pid diff --git a/lcd.py b/lcd.py index 3ead514..e80e2a4 100644 --- a/lcd.py +++ b/lcd.py @@ -23,7 +23,6 @@ class LCDScreen(object): def text(self, text): sanitized = "".join(c for c in text if c.lower() in "1234567890abcdefghjiklmnopqrstuvwxyz{}[]/+-_. ") - print sanitized self.serial.write(sanitized) self.serial.flush()