meshcore-cli 1.3.8__py3-none-any.whl → 1.3.9__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.
@@ -32,7 +32,7 @@ import re
32
32
  from meshcore import MeshCore, EventType, logger
33
33
 
34
34
  # Version
35
- VERSION = "v1.3.8"
35
+ VERSION = "v1.3.9"
36
36
 
37
37
  # default ble address is stored in a config file
38
38
  MCCLI_CONFIG_DIR = str(Path.home()) + "/.config/meshcore/"
@@ -136,9 +136,9 @@ async def process_event_message(mc, ev, json_output, end="\n", above=False):
136
136
  ts = data["sender_timestamp"]
137
137
  if process_event_message.timestamp == "on":
138
138
  if (abs(time.time()-ts) < 86400):
139
- fmt = "%H:%S"
139
+ fmt = "%H:%M"
140
140
  else:
141
- fmt = "%y-%m-%d %H:%S"
141
+ fmt = "%y-%m-%d %H:%M"
142
142
  else:
143
143
  fmt = process_event_message.timestamp
144
144
  path_str += f'{datetime.datetime.fromtimestamp(ts).strftime(fmt)},'
@@ -339,9 +339,9 @@ async def handle_log_rx(event):
339
339
  ts = adv_timestamp
340
340
  if process_event_message.timestamp == "on":
341
341
  if (abs(time.time()-ts) < 86400):
342
- fmt = "%H:%S"
342
+ fmt = "%H:%M"
343
343
  else:
344
- fmt = "%y-%m-%d %H:%S"
344
+ fmt = "%y-%m-%d %H:%M"
345
345
  else:
346
346
  fmt = process_event_message.timestamp
347
347
  ts_str = f' at {datetime.datetime.fromtimestamp(ts).strftime(fmt)}'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meshcore-cli
3
- Version: 1.3.8
3
+ Version: 1.3.9
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=jG9EBCeku171u7xV1ilBn3_3FgiZiXixp3cbc9OdXcw,158679
4
+ meshcore_cli-1.3.9.dist-info/METADATA,sha256=jm_5fHDTXA_KBCBzWD7B8nDB21FBERLV-iJExW_HwuA,17137
5
+ meshcore_cli-1.3.9.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
6
+ meshcore_cli-1.3.9.dist-info/entry_points.txt,sha256=77V29Pyth11GteDk7tneBN3MMk8JI7bTlS-BGSmxCmI,103
7
+ meshcore_cli-1.3.9.dist-info/licenses/LICENSE,sha256=F9s987VtS0AKxW7LdB2EkLMkrdeERI7ICdLJR60A9M4,1066
8
+ meshcore_cli-1.3.9.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=lBuixjTPVJm6ijXuB8RojArSjSDu6k8xCTOtpPAAgs4,158679
4
- meshcore_cli-1.3.8.dist-info/METADATA,sha256=PTtqAGUv5-37BMScJY5ErRy4gLFs9jIoBNbxnzSvgME,17137
5
- meshcore_cli-1.3.8.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
6
- meshcore_cli-1.3.8.dist-info/entry_points.txt,sha256=77V29Pyth11GteDk7tneBN3MMk8JI7bTlS-BGSmxCmI,103
7
- meshcore_cli-1.3.8.dist-info/licenses/LICENSE,sha256=F9s987VtS0AKxW7LdB2EkLMkrdeERI7ICdLJR60A9M4,1066
8
- meshcore_cli-1.3.8.dist-info/RECORD,,