commit 6e3fc012f62044994fbb9e5018ee6c94f09f3fcd
parent a8120b850295bb57a8cc029243b6f89c2da7c851
Author: ThomasV <thomasv@gitorious>
Date: Wed, 15 Feb 2012 01:16:10 +0300
banner
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/server/server.py b/server/server.py
@@ -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'))