summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)