formatting
This commit is contained in:
parent
65ea46f457
commit
3005061a11
|
@ -644,7 +644,11 @@ def run_script(request):
|
|||
else:
|
||||
return notify_error("Custom Field was invalid")
|
||||
|
||||
value = r.strip() if request.data["save_all_output"] else r.strip().split("\n")[-1].strip()
|
||||
value = (
|
||||
r.strip()
|
||||
if request.data["save_all_output"]
|
||||
else r.strip().split("\n")[-1].strip()
|
||||
)
|
||||
|
||||
field.save_to_field(value)
|
||||
return Response(r)
|
||||
|
|
Loading…
Reference in New Issue