Skip to content

Commit

Permalink
Update WorkItems.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mikahanninen committed Sep 17, 2024
1 parent 1b21f4d commit 3380d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/main/src/RPA/Robocorp/WorkItems.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,9 +1023,9 @@ def _get_email_content(
self, variables: Dict
) -> Optional[Tuple[str, bool, Tuple[str]]]:
# Returns the extracted e-mail [parsed] content and its payload destination.
to_tuple = lambda keys: (
to_tuple = lambda keys: ( # noqa: E731
keys if isinstance(keys, tuple) else (keys,)
) # noqa: E731
)
file_list = self.list_work_item_files()
for input_keys, output_keys in self._auto_parse_email.items():
input_keys = to_tuple(input_keys)
Expand Down

0 comments on commit 3380d3a

Please sign in to comment.