electrum

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

commit 9f797d4c5d53d38537d4f92ca5341399e334ffd9
parent 4e2200dbdc83d5673666641ebc4905b35bf3a2a8
Author: ThomasV <thomasv@gitorious>
Date:   Mon, 21 Nov 2011 12:42:40 +0300

fixes

Diffstat:
Mserver/server.py | 5++++-
Msetup.py | 4++--
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/server/server.py b/server/server.py @@ -447,7 +447,10 @@ def irc_thread(): s.send('PONG '+line[1]+'\n') elif '353' in line: # answer to /names k = line.index('353') - k2 = line.index('366') + try: + k2 = line.index('366') + except: + continue for item in line[k+1:k2]: if item[0:2] == 'E_': s.send('USERHOST %s\n'%item) diff --git a/setup.py b/setup.py @@ -26,8 +26,8 @@ if __name__ == '__main__': f = open("/var/www/electrum/index.html") s = f.read() f.close() - s = re.sub("Electrum-([\d\.]*?)\.tar\.gz", _tgz, s) - s = re.sub("Electrum-([\d\.]*?)\.zip", _zip, s) + s = re.sub("Electrum-([\d\.a-z]*?)\.tar\.gz", _tgz, s) + s = re.sub("Electrum-([\d\.a-z]*?)\.zip", _zip, s) f = open("/var/www/electrum/index.html","w") f.write(s) f.close()