diff options
author | Siddharth Ravikumar <sravik@bgsu.edu> | 2016-01-11 18:13:45 -0500 |
---|---|---|
committer | Siddharth Ravikumar <sravik@bgsu.edu> | 2016-01-11 18:13:45 -0500 |
commit | 3a0a9857b116cacda9ac658b5410f80857cf29da (patch) | |
tree | 6a314e832af139ebe18392fa13c09f9c5d8ea2cb /combox | |
parent | 3ec546a81121af6bfdfa3f5f77cc53d5540cc915 (diff) |
combox/cbox.py: configuration related update.
Now, combox starts configuration when the configuration directory or the
configuration file does not exist.
Diffstat (limited to 'combox')
-rw-r--r-- | combox/cbox.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |