mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-04 21:05:11 +00:00
fixes
This commit is contained in:
parent
4e2200dbdc
commit
9f797d4c5d
2 changed files with 6 additions and 3 deletions
|
@ -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)
|
||||
|
|
4
setup.py
4
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()
|
||||
|
|
Loading…
Add table
Reference in a new issue