summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2016-08-12 19:11:31 +0200
committerMichael Buesch <m@bues.ch>2016-08-12 19:11:31 +0200
commit26a2c0bfb948e511629ac22d7c6d68a03f135ed5 (patch)
treef88d5351fa27b2f3f067da96f0dbdfe4120111a2
parentfd8340d33a34199c765bbf9b4c26966b625f2843 (diff)
downloadcnc-26a2c0bfb948e511629ac22d7c6d68a03f135ed5.tar.xz
cnc-26a2c0bfb948e511629ac22d7c6d68a03f135ed5.zip
pctl-remote: Fix serial import
Signed-off-by: Michael Buesch <m@bues.ch>
-rwxr-xr-xpressure_control/remote/pctl-remote4
1 files 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 <mb@bu3sch.de>
+# Copyright (C) 2008-2016 Michael Buesch <m@bues.ch>
#
# 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"
bues.ch cgit interface