From a6943dd7a25d0d787308897f6f55d44e89c216cf Mon Sep 17 00:00:00 2001 From: tza Date: Wed, 6 Apr 2022 12:53:19 +0300 Subject: enabled logging, fixed loader refresh bug, removed template --- plugin_loader/injector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin_loader/injector.py') diff --git a/plugin_loader/injector.py b/plugin_loader/injector.py index 771d5c51..e130d830 100644 --- a/plugin_loader/injector.py +++ b/plugin_loader/injector.py @@ -1,7 +1,7 @@ #Injector code from https://github.com/SteamDeckHomebrew/steamdeck-ui-inject. More info on how it works there. from aiohttp import ClientSession -from logging import info +from logging import debug from asyncio import sleep BASE_ADDRESS = "http://localhost:8080" @@ -82,4 +82,4 @@ async def inject_to_tab(tab_name, js): tab = next((i for i in tabs if i.title == tab_name), None) if not tab: raise ValueError("Tab {} not found in running tabs".format(tab_name)) - info(await tab.evaluate_js(js)) + debug(await tab.evaluate_js(js)) -- cgit v1.2.3