Skip to content

Commit

Permalink
fix: allow spaces in agents' names which get replaced by underscores …
Browse files Browse the repository at this point in the history
…for the _osBrain_ backend
  • Loading branch information
BjoernLudwigPTB committed Jul 27, 2021
1 parent 1f813b5 commit 2d8437d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agentMET4FOF/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def add_agent(
# actual instantiation of agent, depending on backend
if self.backend == "osbrain":
new_agent = self._add_osbrain_agent(
name=new_name,
name=new_name.replace(" ", "_"),
agentType=agentType,
log_mode=log_mode,
buffer_size=buffer_size,
Expand Down

0 comments on commit 2d8437d

Please sign in to comment.