CSV column name now include the plugin name - Related to #2394

This commit is contained in:
nicolargo 2025-04-06 17:33:20 +02:00
parent aa428b51c9
commit 3a96cfd0cc
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ class Export(GlancesExport):
# Loop over plugins to export
for plugin in self.plugins_to_export(stats):
export_names, export_values = self.build_export(all_stats[plugin])
# Add the plugin name in the field
export_names = [plugin + '.' + n for n in export_names]
if self.first_line:
csv_header += export_names
csv_data += export_values