diff --git a/monitoring/db/scripts/get_detailed_power.py b/monitoring/db/scripts/get_detailed_power.py index adbc90d..12387d6 100644 --- a/monitoring/db/scripts/get_detailed_power.py +++ b/monitoring/db/scripts/get_detailed_power.py @@ -79,7 +79,7 @@ class Power: f.write(self.header()) f.write(self.body()) except IOError: - print("Error: could not write to file ", filename) + print("Error: could not write to file ", fname) fname = None return fname