Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentame committed Dec 18, 2024
1 parent 06c6ab0 commit 20cbcd7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions homeassistant/components/freebox/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import json
import logging
import os
from pathlib import Path
import re
from typing import Any

Expand Down Expand Up @@ -60,7 +59,7 @@ async def get_api(hass: HomeAssistant, host: str) -> Freepybox:
if not os.path.exists(freebox_path):
await hass.async_add_executor_job(os.makedirs, freebox_path)

token_file = Path(f"{freebox_path}/{slugify(host)}.conf")
token_file: str = f"{freebox_path}/{slugify(host)}.conf"

return Freepybox(APP_DESC, token_file, API_VERSION)

Expand Down

0 comments on commit 20cbcd7

Please sign in to comment.