tfix conversion in exchange rate plugin - electrum - Electrum Bitcoin wallet
 (HTM) git clone https://git.parazyd.org/electrum
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
       ---
 (DIR) commit 7c4d7dc3272eb8d0c3458862049bb37c8c07607f
 (DIR) parent c7dc8e30b011bea3cc9211e47ca8daf6443ab49f
 (HTM) Author: ThomasV <thomasv@gitorious>
       Date:   Fri, 27 Sep 2013 13:14:49 +0200
       
       fix conversion in exchange rate plugin
       
       Diffstat:
         M plugins/exchange_rate.py            |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py
       t@@ -68,7 +68,7 @@ class Plugin(BasePlugin):
                return "Exchange rates"
        
            def description(self):
       -        return """exchange rates"""
       +        return """exchange rates, retrieved from blockchain.info"""
        
            def init(self):
                self.win = self.gui.main_window
       t@@ -82,6 +82,7 @@ class Plugin(BasePlugin):
                m = re.match( _( "Balance" ) + ": (\d.+) " + self.win.base_unit(), str(text))
                if m:
                    amount = Decimal(m.group(1))
       +            if self.win.base_unit() == 'mBTC': amount = amount / 1000
                    text += self.create_quote_text(amount)
                    self.win.balance_label.setText(text)