From fa66ce770b6ecc743a6fa2b3c9101bbcfd3ce386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergiusz=20Baza=C5=84ski?= Date: Mon, 8 Apr 2013 20:21:29 +0200 Subject: [PATCH] Remove useless debug, fix pppd not being detected. --- adsl.py | 2 +- lcd.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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()