diff iec1107.py @ 5:b686ad203c1e

Don't print the raw value AND the parsed ones.
author Daniel O'Connor <darius@dons.net.au>
date Wed, 20 Nov 2013 15:51:44 +1030
parents 10a16898903d
children 08b192a6e189
line wrap: on
line diff
--- a/iec1107.py	Wed Nov 20 14:48:44 2013 +1030
+++ b/iec1107.py	Wed Nov 20 15:51:44 2013 +1030
@@ -159,8 +159,8 @@
         sys.exit(1)
 
     res = IEC1107Reading(sys.argv[1])
-    map(sys.stdout.write, res.rawreading)
     print res
+
 if __name__ == '__main__':
     main()