mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 11:41:58 +00:00
Comment out un-needed pprint usage
This commit is contained in:
+7
-6
@@ -1,7 +1,7 @@
|
|||||||
# Full imports
|
# Full imports
|
||||||
import json
|
import json
|
||||||
import pprint
|
# import pprint
|
||||||
from pprint import pformat
|
# from pprint import pformat
|
||||||
|
|
||||||
# Partial imports
|
# Partial imports
|
||||||
from aiohttp import ClientSession, web
|
from aiohttp import ClientSession, web
|
||||||
@@ -111,10 +111,11 @@ class PluginBrowser:
|
|||||||
logger.info("uninstalling " + name)
|
logger.info("uninstalling " + name)
|
||||||
logger.info(" at dir " + self.find_plugin_folder(name))
|
logger.info(" at dir " + self.find_plugin_folder(name))
|
||||||
logger.debug("calling frontend unload for %s" % str(name))
|
logger.debug("calling frontend unload for %s" % str(name))
|
||||||
await tab.evaluate_js(f"DeckyPluginLoader.unloadPlugin('{name}')")
|
res = await tab.evaluate_js(f"DeckyPluginLoader.unloadPlugin('{name}')")
|
||||||
plugins_snapshot = self.plugins.copy()
|
logger.debug("result of unload from UI: %s", res)
|
||||||
snapshot_string = pformat(plugins_snapshot)
|
# plugins_snapshot = self.plugins.copy()
|
||||||
logger.debug("current plugins: %s", snapshot_string)
|
# snapshot_string = pformat(plugins_snapshot)
|
||||||
|
# logger.debug("current plugins: %s", snapshot_string)
|
||||||
if self.plugins[name]:
|
if self.plugins[name]:
|
||||||
logger.debug("Plugin %s was found", name)
|
logger.debug("Plugin %s was found", name)
|
||||||
self.plugins[name].stop()
|
self.plugins[name].stop()
|
||||||
|
|||||||
Reference in New Issue
Block a user