diff --git a/cybertensor/__init__.py b/cybertensor/__init__.py
index 951f02b..bfcc985 100644
--- a/cybertensor/__init__.py
+++ b/cybertensor/__init__.py
@@ -30,7 +30,7 @@
nest_asyncio.apply()
# Cybertensor code and protocol version.
-__version__ = "0.2.1"
+__version__ = "0.2.2"
version_split = __version__.split(".")
__version_as_int__ = (
(100 * int(version_split[0]))
diff --git a/cybertensor/messages/set_weights.py b/cybertensor/messages/set_weights.py
index add8eda..9a98957 100644
--- a/cybertensor/messages/set_weights.py
+++ b/cybertensor/messages/set_weights.py
@@ -102,25 +102,17 @@ def set_weights_message(
return True, "Not waiting for finalization."
if success is True:
- cybertensor.__console__.print(
- prefix="Set weights",
- sufix="Finalized: " + str(success),
- )
return True, "Successfully set weights and Finalized."
else:
- cybertensor.__console__.print(
- ":cross_mark: [red]Failed[/red]: error:{}".format(error_message)
- )
-
cybertensor.logging.warning(
prefix="Set weights",
- sufix="Failed: " + str(error_message),
+ sufix=f"Failed: {error_message}",
)
return False, error_message
except Exception as e:
# TODO( devs ): lets remove all of the cybertensor.__console__ calls and replace with loguru.
cybertensor.logging.warning(
- prefix="Set weights", sufix="Failed: " + str(e)
+ prefix="Set weights", sufix=f"Failed: {e}"
)
return False, str(e)