px4-firmware/Tools/px4params/output.py

6 lines
150 B
Python
Raw Normal View History

2013-10-17 20:47:15 -03:00
class Output(object):
def Save(self, groups, fn):
data = self.Generate(groups)
with open(fn, 'w') as f:
f.write(data)