formatting

This commit is contained in:
sadnub 2021-08-30 08:06:15 -04:00
parent 65ea46f457
commit 3005061a11
1 changed files with 5 additions and 1 deletions

View File

@ -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)