diff iec1107.py @ 13:156313694bbb default tip

Use the correct exponent for Watts (ie 0 not 1).
author Daniel O'Connor <darius@dons.net.au>
date Sat, 18 Jan 2014 05:23:02 +0000
parents c1892bd1460a
children
line wrap: on
line diff
--- a/iec1107.py	Mon Nov 25 23:43:33 2013 +1030
+++ b/iec1107.py	Sat Jan 18 05:23:02 2014 +0000
@@ -169,7 +169,7 @@
         elif units[1] == 'T':
             exp = 12
         else:
-            exp = 1
+            exp = 0
         return float(count) * 10 ** exp
 
     def __str__(self):