From 3a0a9857b116cacda9ac658b5410f80857cf29da Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Mon, 11 Jan 2016 18:13:45 -0500 Subject: combox/cbox.py: configuration related update. Now, combox starts configuration when the configuration directory or the configuration file does not exist. --- combox/cbox.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'combox') diff --git a/combox/cbox.py b/combox/cbox.py index 2e29f70..0244284 100644 --- a/combox/cbox.py +++ b/combox/cbox.py @@ -121,7 +121,8 @@ def main(): log_i(CONFIG_DIR) - if not path.exists(CONFIG_DIR): + if (not path.exists(CONFIG_DIR) or + not path.exists(config_file)): # combox not configured. if not args.cli: ComboxConfigDialog("combox configuration", CONFIG_DIR) -- cgit v1.2.3