Skip to content

Commit 4559410

Browse files
committed
server: allow NoneType for simln activity
1 parent 51701bb commit 4559410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/warnet/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def tank_messages(self, network: str, node_a: int, node_b: int) -> str:
270270
self.logger.error(msg)
271271
raise ServerError(message=msg) from e
272272

273-
def network_export(self, network: str, activity: str) -> bool:
273+
def network_export(self, network: str, activity: str | None) -> bool:
274274
"""
275275
Export all data for a simln container running on the network
276276
"""

0 commit comments

Comments
 (0)