Skip to content

Commit

Permalink
server: allow NoneType for simln activity
Browse files Browse the repository at this point in the history
  • Loading branch information
pinheadmz committed Apr 2, 2024
1 parent 51701bb commit 4559410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/warnet/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def tank_messages(self, network: str, node_a: int, node_b: int) -> str:
self.logger.error(msg)
raise ServerError(message=msg) from e

def network_export(self, network: str, activity: str) -> bool:
def network_export(self, network: str, activity: str | None) -> bool:
"""
Export all data for a simln container running on the network
"""
Expand Down

0 comments on commit 4559410

Please sign in to comment.