pyevaljs4 0.2.0__tar.gz → 0.2.1__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.1
2
2
  Name: pyevaljs4
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A high-performance Python library that relies on nodejs to execute JavaScript
5
5
  Home-page: https://github.com/Smawexi/PyEvalJS4
6
6
  Author: Samwe
@@ -0,0 +1 @@
1
+ version = ".".join(map(str, (0, 2, 1)))
@@ -88,6 +88,7 @@ class RunTime:
88
88
  return self._call(func, _args, async_js_func)
89
89
 
90
90
  def _call(self, func: str, args: list, async_js_func=False):
91
+ args = str(args).replace("True", "true").replace("False", "false")
91
92
  if async_js_func:
92
93
  statement = ASYNC_CALL.format(flags=ASYNC_CALL_FLAGS, func=func, args=args)
93
94
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyevaljs4
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A high-performance Python library that relies on nodejs to execute JavaScript
5
5
  Home-page: https://github.com/Smawexi/PyEvalJS4
6
6
  Author: Samwe
@@ -1 +0,0 @@
1
- version = ".".join(map(str, (0, 2, 0)))
File without changes
File without changes
File without changes
File without changes