Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Apr 14, 2024
1 parent 116a4c5 commit 2c46bf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions commune/namespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def namespace(cls, search=None,

if public:
namespace = {k:v.replace(c.default_ip, c.ip()) for k,v in namespace.items()}

namespace = {k:v for k,v in sorted(namespace.items(), key=lambda x: x[0])}
return namespace

namespace = namespace
Expand Down

0 comments on commit 2c46bf8

Please sign in to comment.