float division
authorthomasv <thomasv@gitorious>
Mon, 5 Nov 2012 09:43:57 +0000 (10:43 +0100)
committerthomasv <thomasv@gitorious>
Mon, 5 Nov 2012 09:43:57 +0000 (10:43 +0100)
lib/gui_lite.py

index d2175c2..e1d26f8 100644 (file)
@@ -442,7 +442,7 @@ class MiniWindow(QDialog):
             tx_hash = tx['tx_hash']
             address = self.actuator.wallet.get_default_label(tx_hash)
             value = self.actuator.wallet.get_tx_value(tx_hash)
-            amount = D(value / 10**8)
+            amount = D(value / 10.**8)
             self.history_list.append(address, amount)
 
     def acceptbit(self):