This commit is contained in:
Kevin Hester
2021-03-24 13:26:39 +08:00
parent b56b59fae1
commit cdac62e52e
3 changed files with 63 additions and 31 deletions

View File

@@ -289,7 +289,7 @@ class Node:
p.set_channel.CopyFrom(self.channels[channelIndex])
self._sendAdmin(p, adminIndex=adminIndex)
logging.debug("Wrote channel {channelIndex}")
logging.debug(f"Wrote channel {channelIndex}")
def deleteChannel(self, channelIndex):
"""Delete the specifed channelIndex and shift other channels up"""
@@ -2425,7 +2425,7 @@ wantResponse – True if you want the service on the other side to send an a
p.set_channel.CopyFrom(self.channels[channelIndex])
self._sendAdmin(p, adminIndex=adminIndex)
logging.debug("Wrote channel {channelIndex}")
logging.debug(f"Wrote channel {channelIndex}")
def deleteChannel(self, channelIndex):
"""Delete the specifed channelIndex and shift other channels up"""
@@ -2921,7 +2921,7 @@ wantResponse – True if you want the service on the other side to send an a
p.set_channel.CopyFrom(self.channels[channelIndex])
self._sendAdmin(p, adminIndex=adminIndex)
logging.debug(&#34;Wrote channel {channelIndex}&#34;)</code></pre>
logging.debug(f&#34;Wrote channel {channelIndex}&#34;)</code></pre>
</details>
</dd>
<dt id="meshtastic.Node.writeConfig"><code class="name flex">

View File

File diff suppressed because one or more lines are too long

View File

@@ -12,7 +12,7 @@ with open("README.md", "r") as fh:
# This call to setup() does all the work
setup(
name="meshtastic",
version="1.2.13",
version="1.2.14",
description="Python API & client shell for talking to Meshtastic devices",
long_description=long_description,
long_description_content_type="text/markdown",