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 | |
| parent | 3ec546a81121af6bfdfa3f5f77cc53d5540cc915 (diff) | |
combox/cbox.py: configuration related update.
Now, combox starts configuration when the configuration directory or the
configuration file does not exist.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | combox/cbox.py | 3 | 
2 files changed, 8 insertions, 1 deletions
| @@ -1,3 +1,9 @@ +2016-01-11 Siddharth Ravikumar <sravik@bgsu.edu> + +	* combox/cbox.py: Now, combox starts configuration when the +	configuration directory does not exist or when the configuration +	file does not exist. +  2016-01-10 Siddharth Ravikumar <sravik@bgsu.edu>  	* combox/gui.py: Rewrote/Added docstrings; they're sphinx friendly 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) | 
