eva-shell 0.2.41__tar.gz → 0.2.43__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eva-shell
3
- Version: 0.2.41
3
+ Version: 0.2.43
4
4
  Summary: EVA ICS v4 shell
5
5
  Home-page: https://github.com/eva-ics/eva4
6
6
  Author: Bohemia Automation / Altertech
@@ -1,3 +1,3 @@
1
- __version__ = '0.2.41'
1
+ __version__ = '0.2.43'
2
2
 
3
3
  DEFAULT_REPOSITORY_URL = 'https://pub.bma.ai/eva4'
@@ -1589,7 +1589,7 @@ class CLI:
1589
1589
  data = call_rpc('kiosk.list', target=kiosk_svc)
1590
1590
  if current_command.json:
1591
1591
  print_result(data)
1592
- else:
1592
+ elif isinstance(data, list) and data:
1593
1593
  formatted_data = []
1594
1594
  for d in data:
1595
1595
  state = d.get('state')
@@ -498,6 +498,7 @@ def format_value(value, advanced=False, name='', p=None):
498
498
  if value == '<<':
499
499
  import pwinput
500
500
  value = pwinput.pwinput(prompt=f'{name}: ')
501
+ return value
501
502
  if value.startswith('!'):
502
503
  return value[1:]
503
504
  if value.startswith('@'):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eva-shell
3
- Version: 0.2.41
3
+ Version: 0.2.43
4
4
  Summary: EVA ICS v4 shell
5
5
  Home-page: https://github.com/eva-ics/eva4
6
6
  Author: Bohemia Automation / Altertech
@@ -1,4 +1,4 @@
1
- __version__ = '0.2.41'
1
+ __version__ = '0.2.43'
2
2
 
3
3
  import setuptools
4
4
 
File without changes
File without changes
File without changes
File without changes
File without changes