Merge pull request #433 from pikers/add_config_dir_on_daemon_startup

Add config dir on daemon startup
dark_clearing_improvements
algorandpa 2022-12-22 19:40:47 +00:00 committed by GitHub
commit f218b804b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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')
# 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):
os.mkdir(mktsdir)