Skip to content

Commit

Permalink
Merge pull request #564 from Mynacol/fix-kodiidle
Browse files Browse the repository at this point in the history
KodiIdleTime: Remove surplus brace
  • Loading branch information
languitar authored Sep 22, 2024
2 parents ea2a98d + 8bb6dad commit 04ed2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autosuspend/checks/kodi.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def create(cls, name: str, config: configparser.SectionProxy) -> "KodiIdleTime":

def __init__(self, name: str, url: str, idle_time: int, **kwargs: Any) -> None:
request = url + (
'?request={{"jsonrpc": "2.0", "id": 1, '
'?request={"jsonrpc": "2.0", "id": 1, '
'"method": "XBMC.GetInfoBooleans",'
f'"params": {{"booleans": ["System.IdleTime({idle_time})"]}}}}'
)
Expand Down

0 comments on commit 04ed2c6

Please # to comment.