Skip to content

Commit b3f3baf

Browse files
Merge pull request #448 from davidusb-geek/davidusb-geek/fix/findall
Fixed finall warning issue
2 parents 93f7d30 + 653091d commit b3f3baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emhass/command_line.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,7 @@ def main():
16181618
config = {}
16191619
# Check if passed config file is yaml of json, build config accordingly
16201620
if config_path.exists():
1621-
config_file_ending = re.findall("(?<=\.).*$", str(config_path))
1621+
config_file_ending = re.findall(r"(?<=\.).*$", str(config_path))
16221622
if len(config_file_ending) > 0:
16231623
match config_file_ending[0]:
16241624
case "json":

0 commit comments

Comments
 (0)