Skip to content

Commit cd47c40

Browse files
committed
corrected typo
1 parent b5c4a0d commit cd47c40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adk/ADK.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ def init(self, local_payload=None, pprint=print):
136136
else:
137137
for line in sys.stdin:
138138
request = json.loads(line)
139+
formatted_input = self.format_data(request)
139140
if self.loading_exception:
140141
load_error = self.create_exception(self.loading_exception, loading_exception=True)
141142
self.write_to_pipe(load_error, pprint=pprint)
142-
formatted_input = self.format_data(request)
143143
else:
144144
result = self.apply(formatted_input)
145145
self.write_to_pipe(result)

0 commit comments

Comments
 (0)