Topo: Add supported-tps to logical TPs 69/13469/1
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Sat, 28 Sep 2024 12:18:06 +0000 (14:18 +0200)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Sat, 28 Sep 2024 12:18:06 +0000 (14:18 +0200)
- Add todo remark because of lint issue

Issue-ID: OAM-417
Change-Id: I39db2b1114f49f3e074eb85c9d37508d2f031d6b
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
code/network-generator/network_generation/view/network_viewer.py

index 5bf87ca..257e6aa 100644 (file)
@@ -157,6 +157,10 @@ class NetworkViewer:
             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!')