electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 90a22f1a36293cd84addf46726b8b7d344c274d3
parent d82529a41afb052f2f3bebdb24880372127f98b7
Author: ThomasV <thomasv@gitorious>
Date:   Tue, 17 Mar 2015 14:31:21 +0100

Merge branch 'master' of git://github.com/spesmilo/electrum

Diffstat:
Mlib/bmp.py | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/bmp.py b/lib/bmp.py @@ -174,12 +174,13 @@ class BitMap(object): # write pixels self.bitarray.reverse() + rows = [] for row in self.bitarray: for pixel in row: c = self.palette[pixel] - _bitmap += long24ToString(c) - for i in range(line_padding): - _bitmap += chr( 0 ) + rows.append(long24ToString(c)) + rows.append(chr(0) * line_padding) + _bitmap += ''.join(rows) return _bitmap