diff options
| author | tza <marios8543@gmail.com> | 2022-04-06 12:53:19 +0300 |
|---|---|---|
| committer | tza <marios8543@gmail.com> | 2022-04-06 12:53:19 +0300 |
| commit | a6943dd7a25d0d787308897f6f55d44e89c216cf (patch) | |
| tree | 5cc3023cd71fa97a79fe5f7f8a73cadfef05253b /plugin_loader/injector.py | |
| parent | 85e5554c05a60b701fd69fabe47e74fb83ebfd68 (diff) | |
| download | decky-loader-a6943dd7a25d0d787308897f6f55d44e89c216cf.tar.gz decky-loader-a6943dd7a25d0d787308897f6f55d44e89c216cf.zip | |
enabled logging, fixed loader refresh bug, removed template
Diffstat (limited to 'plugin_loader/injector.py')
| -rw-r--r-- | plugin_loader/injector.py | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |
