- Add todo remark because of lint issue
Issue-ID: OAM-417
Change-Id: I39db2b1114f49f3e074eb85c9d37508d2f031d6b
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
print(f'File "{filename}.kmz" saved!')
else:
kml_file = open(f"{filename}.kml", "wb")
- kml_file.write(kml.encode('utf-8'))
+ # TODO make lint issue
+ # network_generation/view/network_viewer.py:160: error:
+ # Argument 1 to "write" of "BufcqferedWriter" has incompatible
+ # type "str"; expected "Buffer"
+ kml_file.write(kml)
kml_file.close()
print(f'File "{filename}.kml" saved!')