Fixed indentation issues.

This commit is contained in:
Storm Dragon 2025-04-19 14:48:38 -04:00
parent 51984a6540
commit 96335baf5d

View File

@ -318,15 +318,14 @@ class ScriptManager:
return return
newScript.activate() newScript.activate()
# Register plugin keybindings with the new active script
from . import cthulhu
plugin_manager = cthulhu.getPluginSystemManager()
if plugin_manager:
plugin_manager.register_plugin_keybindings_with_active_script()
tokens = ["SCRIPT MANAGER: Setting active script to", newScript, "reason:", reason] tokens = ["SCRIPT MANAGER: Setting active script to", newScript, "reason:", reason]
self._activeScript = newScript
# Register plugin keybindings with the new active script
from . import cthulhu
plugin_manager = cthulhu.getPluginSystemManager()
if plugin_manager:
plugin_manager.register_plugin_keybindings_with_active_script()
debug.printTokens(debug.LEVEL_INFO, tokens, True) debug.printTokens(debug.LEVEL_INFO, tokens, True)
def _getScriptForAppReplicant(self, app): def _getScriptForAppReplicant(self, app):