Skip to content

Commit c17c488

Browse files
committed
fix demo.py after database backend moved from db/backend to config.ini::[rdbms].backend. Note this will have to change if backend location moved to [main].backend (tomatch [main].db).
1 parent 8fa82aa commit c17c488

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roundup/demo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def install_demo(home, backend, template):
4444
config['RDBMS_PASSWORD'] = 'rounduptest'
4545
config['RDBMS_NAME'] = 'rounduptest'
4646

47+
config['RDBMS_BACKEND'] = backend
48+
4749
# see if we need to clean up existing directory
4850
if os.path.exists(home):
4951
if os.path.exists(home + '/config.ini'):
@@ -65,7 +67,6 @@ def install_demo(home, backend, template):
6567
nosyreaction += 'c'
6668
if os.path.exists(nosyreaction):
6769
os.remove(nosyreaction)
68-
init.write_select_db(home, backend)
6970

7071
# figure basic params for server
7172
hostname = 'localhost'

0 commit comments

Comments
 (0)