From 8d1fd34924639158911865316aec91087b38f2af Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Sun, 6 Sep 2015 19:57:22 -0400 Subject: combox.config module update. For obvious reasons, We are using os.makedirs to create node paths if it is not already created. --- combox/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combox/config.py b/combox/config.py index 111707e..dbc2af1 100644 --- a/combox/config.py +++ b/combox/config.py @@ -102,7 +102,7 @@ def config_cb(config_dir = path.join(expanduser("~"), '.combox'), # create node path, if it doesn't exists yet. if not path.exists(nodes[node_name]['path']): - os.mkdir(nodes[node_name]['path']) + os.makedirs(nodes[node_name]['path']) config_info['nodes_info'] = nodes if write: -- cgit v1.2.3