t* fix config file keys for MySQL. - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit c9846860dc81b3d935e65b829ffc5e11bbc57225 DIR parent 79217326bef111041542932a765f5306fba4dbfe HTML Author: Ovidiu Constantin <ovidiu@mybox.ro> Date: Tue, 29 Nov 2011 23:44:10 +0200 * fix config file keys for MySQL. Diffstat: M server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/server/server.py b/server/server.py t@@ -513,7 +513,7 @@ if __name__ == '__main__': if args.dbtype == 'sqlite3': args.connect_args = { 'database' : config.get('database','database') } elif args.dbtype == 'MySQLdb': - args.connect_args = { 'db' : config.get('database','database'), 'user' : config.get('database','user'), 'passwd' : config.get('database','pass') } + args.connect_args = { 'db' : config.get('database','database'), 'user' : config.get('database','username'), 'passwd' : config.get('database','password') } elif args.dbtype == 'psycopg2': args.connect_args = { 'database' : config.get('database','database') } store = MyStore(args)