summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2016-01-11 18:13:45 -0500
committerSiddharth Ravikumar <sravik@bgsu.edu>2016-01-11 18:13:45 -0500
commit3a0a9857b116cacda9ac658b5410f80857cf29da (patch)
tree6a314e832af139ebe18392fa13c09f9c5d8ea2cb
parent3ec546a81121af6bfdfa3f5f77cc53d5540cc915 (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--ChangeLog6
-rw-r--r--combox/cbox.py3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1827e52..e0aa0c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)