aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'g_sorcery/db_layout.py')
-rw-r--r--g_sorcery/db_layout.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/g_sorcery/db_layout.py b/g_sorcery/db_layout.py
index fe6f281..ea4298a 100644
--- a/g_sorcery/db_layout.py
+++ b/g_sorcery/db_layout.py
@@ -230,6 +230,7 @@ class DBLayout(object):
"""
if os.path.exists(self.directory):
shutil.rmtree(self.directory)
+ os.makedirs(self.directory)
def read(self):
"""