Skip to content

Commit

Permalink
Merge pull request #448 from davidusb-geek/davidusb-geek/fix/findall
Browse files Browse the repository at this point in the history
Fixed finall warning issue
  • Loading branch information
davidusb-geek authored Feb 5, 2025
2 parents 93f7d30 + 653091d commit b3f3baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emhass/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,7 @@ def main():
config = {}
# Check if passed config file is yaml of json, build config accordingly
if config_path.exists():
config_file_ending = re.findall("(?<=\.).*$", str(config_path))
config_file_ending = re.findall(r"(?<=\.).*$", str(config_path))
if len(config_file_ending) > 0:
match config_file_ending[0]:
case "json":
Expand Down

0 comments on commit b3f3baf

Please sign in to comment.