Skip to content

Commit

Permalink
Add encoding to open (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinLucas authored Nov 11, 2024
1 parent a0d8b5d commit f8e427b
Show file tree
Hide file tree
Showing 3 changed files with 649 additions and 3 deletions.
4 changes: 2 additions & 2 deletions huetoinflux.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
""" Script to run iostat and send output to InfluxDB """

import time
import requests
import json
import requests
from phue import Bridge

# load the settings.json file
with open("settings.json") as f:
with open("settings.json", encoding="utf8") as f:
settings = json.load(f)


Expand Down
Loading

0 comments on commit f8e427b

Please sign in to comment.