Skip to content

Commit

Permalink
Update wallbox_monitor.py
Browse files Browse the repository at this point in the history
fixed a file path issue for log_file and config_file
  • Loading branch information
bjoerrrn authored Feb 2, 2025
1 parent b7b20cb commit f0ca68f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wallbox_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

LOG_FILE = "/home/pi/wallbox_monitor.log"
LOG_FILE = "/home/pi/wallbox-monitor/wallbox_monitor.log"
logging.basicConfig(filename=LOG_FILE, level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s")

# Load configuration from credentials file
CONFIG_FILE = "wallbox_monitor.credo"
CONFIG_FILE = "/home/pi/wallbox-monitor/wallbox_monitor.credo"
config = configparser.ConfigParser()
config.read(CONFIG_FILE)

Expand Down

0 comments on commit f0ca68f

Please sign in to comment.