meshcore-cli 1.1.38__py3-none-any.whl → 1.1.39__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@ from prompt_toolkit.shortcuts import radiolist_dialog
23
23
  from meshcore import MeshCore, EventType, logger
24
24
 
25
25
  # Version
26
- VERSION = "v1.1.38"
26
+ VERSION = "v1.1.39"
27
27
 
28
28
  # default ble address is stored in a config file
29
29
  MCCLI_CONFIG_DIR = str(Path.home()) + "/.config/meshcore/"
@@ -1135,7 +1135,12 @@ async def print_disc_trace_to (mc, contact):
1135
1135
 
1136
1136
  for i in range(0, inp_l):
1137
1137
  elem = inp[2*i:2*(i+1)]
1138
- trace = elem if trace == "" else f"{trace},{elem}"
1138
+ if trace == "":
1139
+ trace = elem
1140
+ elif trace[-2:] != elem:
1141
+ trace = f"{trace},{elem}"
1142
+
1143
+ logger.info(f"Trying {trace}")
1139
1144
 
1140
1145
  await next_cmd(mc, ["trace", trace])
1141
1146
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshcore-cli
3
- Version: 1.1.38
3
+ Version: 1.1.39
4
4
  Summary: Command line interface to meshcore companion radios
5
5
  Project-URL: Homepage, https://github.com/fdlamotte/meshcore-cli
6
6
  Project-URL: Issues, https://github.com/fdlamotte/meshcore-cli/issues
@@ -0,0 +1,8 @@
1
+ meshcore_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ meshcore_cli/__main__.py,sha256=PfYgibmu2LEtC-OV7L1UgmvV3swJ5rQ4bbXHlwUFlgE,83
3
+ meshcore_cli/meshcore_cli.py,sha256=z4m_c8BjC0W2tBovhFHFMO8JMQB4i8TlrU_sL4s6q-U,115459
4
+ meshcore_cli-1.1.39.dist-info/METADATA,sha256=zhtF7tz4od9NJEaak8G6HvLqeFH_uW2y-r5zLnh2EMM,11630
5
+ meshcore_cli-1.1.39.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
+ meshcore_cli-1.1.39.dist-info/entry_points.txt,sha256=77V29Pyth11GteDk7tneBN3MMk8JI7bTlS-BGSmxCmI,103
7
+ meshcore_cli-1.1.39.dist-info/licenses/LICENSE,sha256=F9s987VtS0AKxW7LdB2EkLMkrdeERI7ICdLJR60A9M4,1066
8
+ meshcore_cli-1.1.39.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- meshcore_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- meshcore_cli/__main__.py,sha256=PfYgibmu2LEtC-OV7L1UgmvV3swJ5rQ4bbXHlwUFlgE,83
3
- meshcore_cli/meshcore_cli.py,sha256=GlPpqekJDG7eEHAb2KjwP16uI0H4vantFGS26ksxqks,115362
4
- meshcore_cli-1.1.38.dist-info/METADATA,sha256=nBLa9D9f8TuAE1uTox-nxjLzPpq9o_h41WYf5TKrNPE,11630
5
- meshcore_cli-1.1.38.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
6
- meshcore_cli-1.1.38.dist-info/entry_points.txt,sha256=77V29Pyth11GteDk7tneBN3MMk8JI7bTlS-BGSmxCmI,103
7
- meshcore_cli-1.1.38.dist-info/licenses/LICENSE,sha256=F9s987VtS0AKxW7LdB2EkLMkrdeERI7ICdLJR60A9M4,1066
8
- meshcore_cli-1.1.38.dist-info/RECORD,,