fix : typo
This commit is contained in:
@ -531,7 +531,7 @@ def stop_webpanel_decoy():
|
|||||||
'''Stops and removes the decoy site configuration for the web panel.'''
|
'''Stops and removes the decoy site configuration for the web panel.'''
|
||||||
run_cmd(['bash', Command.SHELL_WEBPANEL.value, 'stopdecoy'])
|
run_cmd(['bash', Command.SHELL_WEBPANEL.value, 'stopdecoy'])
|
||||||
|
|
||||||
def get_webpanel_decoy_status() -> Dict[str, Any]:
|
def get_webpanel_decoy_status() -> dict[str, Any]:
|
||||||
"""Checks the status of the webpanel decoy site configuration."""
|
"""Checks the status of the webpanel decoy site configuration."""
|
||||||
try:
|
try:
|
||||||
if not os.path.exists(WEBPANEL_ENV_FILE):
|
if not os.path.exists(WEBPANEL_ENV_FILE):
|
||||||
|
|||||||
Reference in New Issue
Block a user