summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2015-09-06 19:59:39 -0400
committerSiddharth Ravikumar <sravik@bgsu.edu>2015-09-06 19:59:39 -0400
commitb96246bfc49b3b46379f3e66bb0eec743dde14a7 (patch)
tree9137076b03241e67e55841e7db5854f92abdc86b
parent8d1fd34924639158911865316aec91087b38f2af (diff)
combox.config: now we're always returning config_info no matter what.
-rw-r--r--combox/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/combox/config.py b/combox/config.py
index dbc2af1..3a3e9c6 100644
--- a/combox/config.py
+++ b/combox/config.py
@@ -109,6 +109,7 @@ def config_cb(config_dir = path.join(expanduser("~"), '.combox'),
config_file = open(config_file_path, 'w')
yaml.dump(config_info, config_file, default_flow_style=False)
os.chmod(config_file_path,stat.S_IRUSR|stat.S_IWUSR)
+ return config_info
else:
return config_info