lacuscore 1.5.7__py3-none-any.whl → 1.5.8__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.
lacuscore/lacuscore.py CHANGED
@@ -338,9 +338,9 @@ class LacusCore():
338
338
 
339
339
  def _encode_response(self, capture: CaptureResponse) -> CaptureResponseJson:
340
340
  encoded_capture = cast(CaptureResponseJson, capture)
341
- if capture.get('png') and capture['png']:
341
+ if capture.get('png'):
342
342
  encoded_capture['png'] = b64encode(capture['png']).decode()
343
- if capture.get('downloaded_file') and capture['downloaded_file']:
343
+ if capture.get('downloaded_file'):
344
344
  encoded_capture['downloaded_file'] = b64encode(capture['downloaded_file']).decode()
345
345
  if capture.get('children') and capture['children']:
346
346
  for child in capture['children']:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lacuscore
3
- Version: 1.5.7
3
+ Version: 1.5.8
4
4
  Summary: Core of Lacus, usable as a module
5
5
  Home-page: https://github.com/ail-project/LacusCore
6
6
  License: BSD-3-Clause
@@ -1,9 +1,9 @@
1
1
  README.md,sha256=NVr2b3eX2dwOO917TtyGGhCTLtmFbLCFPy9MH8JPUMU,941
2
2
  lacuscore/__init__.py,sha256=ytBrQRBXO1Q5yV72qyS16Q7Auqebl3EMhhLQUa0Sg4g,169
3
3
  lacuscore/lacus_monitoring.py,sha256=xFf90uXF2yEB_eV-Lh82g9cO1tHkPhTCcSZJ3p6_980,1105
4
- lacuscore/lacuscore.py,sha256=MEUl6r2Q4MfCKdRzxOhvMfcoZQQE6q4QbeEvpsl3Nk0,30864
4
+ lacuscore/lacuscore.py,sha256=2veVSBogCsn83oi8iTjS1G6opHhom_n3Gkcg_N1GQPM,30814
5
5
  lacuscore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- lacuscore-1.5.7.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
7
- lacuscore-1.5.7.dist-info/METADATA,sha256=aioRl57jAWOP9Hk3OI0JTW8P_vD3UIsDjamiUIh2uz0,2357
8
- lacuscore-1.5.7.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
9
- lacuscore-1.5.7.dist-info/RECORD,,
6
+ lacuscore-1.5.8.dist-info/LICENSE,sha256=4C4hLYrIkUD96Ggk-y_Go1Qf7PBZrEm9PSeTGe2nd4s,1516
7
+ lacuscore-1.5.8.dist-info/METADATA,sha256=vdz6dpzIkK-ivR2Zl73thLQNSbM9evyx6yzsjjWbUrE,2357
8
+ lacuscore-1.5.8.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
9
+ lacuscore-1.5.8.dist-info/RECORD,,