Fix unknown symbol

This commit is contained in:
Jose Gracia 2023-11-22 14:46:51 +01:00
parent e6b291daa7
commit f6991fb57b

View file

@ -79,7 +79,7 @@ class Power:
f.write(self.header()) f.write(self.header())
f.write(self.body()) f.write(self.body())
except IOError: except IOError:
print("Error: could not write to file ", filename) print("Error: could not write to file ", fname)
fname = None fname = None
return fname return fname