From a2e1c60b39af0922e3c1f097e001e466b0dfa86f Mon Sep 17 00:00:00 2001 From: Mo <hadizadeh@dkrz.de> Date: Thu, 9 Jan 2025 17:04:06 +0100 Subject: [PATCH] added docstring --- pet-wrapper-api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pet-wrapper-api.py b/pet-wrapper-api.py index c43fe45..86c64f5 100644 --- a/pet-wrapper-api.py +++ b/pet-wrapper-api.py @@ -194,6 +194,10 @@ class PET(plugin.PluginAbstract): return file_dict def prepare_html_output(self, path_output): + """ + Prepare the HTML output for the plugin in + the result section. + """ result = subprocess.run( ["ls", "-la", path_output], capture_output=True, text=True ) -- GitLab