From 58cf113f71a2fa3c2f5a5cbe297431c41773de03 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 18 Aug 2008 18:05:20 -0700 Subject: [PATCH] Fixing broken parameter parsing. Should really generalize this and maybe do real parsing. --- luminotes.py | 2 +- tools/initdb.py | 2 +- tools/updatedb.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/luminotes.py b/luminotes.py index 7798ed5..780ba88 100755 --- a/luminotes.py +++ b/luminotes.py @@ -20,7 +20,7 @@ def main( args ): if args and "-d" in args: from config import Development settings = Development.settings - if args and "-l" in args: + elif args and "-l" in args: from config import Desktop settings = Desktop.settings else: diff --git a/tools/initdb.py b/tools/initdb.py index e479b97..ddb5e36 100644 --- a/tools/initdb.py +++ b/tools/initdb.py @@ -86,7 +86,7 @@ def main( args = None ): if args and "-d" in args: from config import Development settings = Development.settings - if args and "-l" in args: + elif args and "-l" in args: from config import Desktop settings = Desktop.settings else: diff --git a/tools/updatedb.py b/tools/updatedb.py index ea71949..52e3c1a 100755 --- a/tools/updatedb.py +++ b/tools/updatedb.py @@ -80,7 +80,7 @@ def main( args ): if args and "-d" in args: from config import Development settings = Development.settings - if args and "-l" in args: + elif args and "-l" in args: from config import Desktop settings = Desktop.settings else: