Skip to content

Commit

Permalink
Fixed major whitespace bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodfrey0 committed Dec 30, 2023
1 parent c6c4ec1 commit 6130cbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = swarmnet
version = 0.0.4
version = 0.0.5
author = Toby Godfrey
author_email = [email protected]
description = A gossip-based swarm communication library
Expand Down
2 changes: 1 addition & 1 deletion src/swarmnet/msg_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self, mapping: Dict[str, Callable[[Optional[str]], None]], q: queue

def parse_msg(self) -> None:
msg: str = self.msg_queue.get(block=True).split(' ', 1)
cmd: str = msg[0]
cmd: str = msg[0].strip()
data: Optional[str] = None

if len(msg) > 1:
Expand Down

0 comments on commit 6130cbc

Please sign in to comment.