Skip to content

Commit

Permalink
Merge pull request #2200 from opentensor/fix/thewhaleking/ensure-msg-…
Browse files Browse the repository at this point in the history
…is-str

ensure msg is str in _concat_msg
  • Loading branch information
ibraheem-opentensor authored Aug 7, 2024
2 parents 0c4032e + 69c63ef commit 5b20f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bittensor/btlogging/loggingmachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def __trace_on__(self) -> bool:

@staticmethod
def _concat_msg(*args):
return " - ".join(el for el in args if el != "")
return " - ".join(str(el) for el in args if el != "")

def trace(self, msg="", *args, prefix="", suffix="", **kwargs):
"""Wraps trace message with prefix and suffix."""
Expand Down

0 comments on commit 5b20f93

Please sign in to comment.