tbanner - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 6e3fc012f62044994fbb9e5018ee6c94f09f3fcd DIR parent a8120b850295bb57a8cc029243b6f89c2da7c851 HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 15 Feb 2012 01:16:10 +0300 banner Diffstat: M server/server.py | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) --- DIR diff --git a/server/server.py b/server/server.py t@@ -63,6 +63,13 @@ try: except: print "Could not read electrum.conf. I will use the default values." +try: + f = open('/etc/electrum.banner','r') + config.set('server','banner', f.read()) + f.close() +except: + pass + password = config.get('server','password') bitcoind_url = 'http://%s:%s@%s:%s/' % ( config.get('bitcoind','user'), config.get('bitcoind','password'), config.get('bitcoind','host'), config.get('bitcoind','port'))