From 26a2c0bfb948e511629ac22d7c6d68a03f135ed5 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Fri, 12 Aug 2016 19:11:31 +0200 Subject: pctl-remote: Fix serial import Signed-off-by: Michael Buesch --- pressure_control/remote/pctl-remote | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pressure_control/remote/pctl-remote b/pressure_control/remote/pctl-remote index e98cc48..b25403a 100755 --- a/pressure_control/remote/pctl-remote +++ b/pressure_control/remote/pctl-remote @@ -1,6 +1,6 @@ #!/usr/bin/env python """ -# Copyright (C) 2008-2009 Michael Buesch +# Copyright (C) 2008-2016 Michael Buesch # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3 @@ -18,7 +18,7 @@ import getopt import sys try: - from serial.serialposix import * + from serial import * except ImportError: print "ERROR: pyserial module not available." print "On Debian Linux please do: apt-get install python-serial" -- cgit v1.2.3