Create the controller config at first controller start

pull/638/head
Julien Duponchelle 8 years ago
parent 4c3bfde97e
commit 5a410155f7
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -78,8 +78,9 @@ class Controller:
"""
Reload the controller configuration from disk
"""
if not os.path.exists(self._config_file):
return
self.save()
try:
with open(self._config_file) as f:
data = json.load(f)

Loading…
Cancel
Save