Remove useless debug, fix pppd not being detected.

master
q3k 2013-04-08 20:21:29 +02:00
parent ec50d50f5c
commit fa66ce770b
2 changed files with 1 additions and 2 deletions

View File

@ -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

1
lcd.py
View File

@ -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()