mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 00:02:23 +00:00
fix: handle better \u0000 in python result
This commit is contained in:
@@ -286,7 +286,7 @@ def to_b_64(v: bytes):
|
||||
b64 = base64.b64encode(v)
|
||||
return b64.decode('ascii')
|
||||
|
||||
replace_nan = re.compile(r'\bNaN\b')
|
||||
replace_nan = re.compile(r'(?:\bNaN\b|\\u0000)')
|
||||
try:
|
||||
res = inner_script.main(**args)
|
||||
typ = type(res)
|
||||
@@ -998,7 +998,7 @@ def to_b_64(v: bytes):
|
||||
b64 = base64.b64encode(v)
|
||||
return b64.decode('ascii')
|
||||
|
||||
replace_nan = re.compile(r'\bNaN\b')
|
||||
replace_nan = re.compile(r'(?:\bNaN\b|\\u0000)')
|
||||
sys.stdout.write('start\n')
|
||||
|
||||
for line in sys.stdin:
|
||||
|
||||
@@ -50,9 +50,4 @@
|
||||
createText="Press enter to use this non-predefined value"
|
||||
/>
|
||||
</div>
|
||||
{#if value}
|
||||
<div class="-mt-2">
|
||||
<span class="text-2xs text-secondary">selected: {value}</span>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user