Default config: add recorder

pull/26/head
Paulus Schoutsen 2015-01-31 19:52:00 -08:00
parent 1ce8b6de7a
commit 10bbc3d6e1
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ def ensure_config_path(config_dir):
with open(config_path, 'w') as conf:
conf.write("[frontend]\n\n")
conf.write("[discovery]\n\n")
conf.write("[recorder]\n\n")
except IOError:
print(('Fatal Error: No configuration file found and unable '
'to write a default one to {}').format(config_path))