add config dir on pikerd startup

dark_clearing_improvements
algorandpa 2022-12-17 21:51:49 +00:00
parent df6071ae9e
commit db11c3c0f8
1 changed files with 4 additions and 1 deletions

View File

@ -132,7 +132,10 @@ def start_marketstore(
mktsdir = os.path.join(config._config_dir, 'marketstore') mktsdir = os.path.join(config._config_dir, 'marketstore')
# create when dne # create dirs when dne
if not os.path.isdir(config._config_dir):
os.mkdir(config._config_dir)
if not os.path.isdir(mktsdir): if not os.path.isdir(mktsdir):
os.mkdir(mktsdir) os.mkdir(mktsdir)