diff --git a/monitoring/db/scripts/get_detailed_power.py b/monitoring/db/scripts/get_detailed_power.py index 733c145..0915f69 100755 --- a/monitoring/db/scripts/get_detailed_power.py +++ b/monitoring/db/scripts/get_detailed_power.py @@ -235,7 +235,7 @@ class App: if warnings: print(warnings) - header = f"# {config.datetime}: {config.cmd}\n" + header = f"# {self.config.datetime}: {self.config.cmd}\n" if warnings: header += f"{warnings}\n" header += "#\n"