|
|
@ -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() |
|
|
|