diff options
author | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-09-06 19:57:22 -0400 |
---|---|---|
committer | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-09-06 19:57:22 -0400 |
commit | 8d1fd34924639158911865316aec91087b38f2af (patch) | |
tree | 9d310ea1d6c7d051289548b63c8b7523f5adb0fb | |
parent | 37385a90f90cb9d4dfd13d9d2e3cbcace8011e9e (diff) |
combox.config module update.
For obvious reasons, We are using os.makedirs to create node paths if
it is not already created.
-rw-r--r-- | combox/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |