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