Skip to content

Commit

Permalink
trials
Browse files Browse the repository at this point in the history
  • Loading branch information
domschl committed Aug 17, 2023
1 parent f93c264 commit b2bceaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions selftest/selftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ def create_device(fhi, name, readings):

os.system("cat fhem-config-addon.cfg >> {}".format(config["config_file"]))

if not os.path.exists(config["config_file"]):
log.error("Failed to create config file!")
sys.exit(-2)


certs_dir = os.path.join(config["fhem_dir"], "certs")
os.system("mkdir {}".format(certs_dir))
Expand Down

0 comments on commit b2bceaf

Please sign in to comment.