mirror of
https://github.com/meshtastic/python.git
synced 2026-09-15 06:52:41 -04:00
remove unneeded base64 padding
This commit is contained in:
1 parent
fcb4d3ec5b
commit
9e5a5a0c74
1 file changed
+1
-1
@@ -372,7 +372,7 @@ class MeshInterface:
|
||||
channelSet.settings.append(c.settings)
|
||||
bytes = channelSet.SerializeToString()
|
||||
s = base64.urlsafe_b64encode(bytes).decode('ascii')
|
||||
return f"https://www.meshtastic.org/d/#{s}"
|
||||
return f"https://www.meshtastic.org/d/#{s}".replace("=", "")
|
||||
|
||||
def setURL(self, url):
|
||||
"""Set mesh network URL"""
|
||||
|
||||
Reference in new issue
Block a user