diff --git a/monitoring/db/scripts/get_detailed_power.py b/monitoring/db/scripts/get_detailed_power.py index 5218d9b..2449b2b 100755 --- a/monitoring/db/scripts/get_detailed_power.py +++ b/monitoring/db/scripts/get_detailed_power.py @@ -282,6 +282,8 @@ if __name__ == "__main__": config = parse_arguments(sys.argv[1:]) config.cmd = " ".join(sys.argv) config.datetime = f"{datetime.now()}" + if os.path.basename(__file__) == 'get_energy.py': + config.energy_only = True main = App(config) main.run_all()