Skip to content

Commit

Permalink
minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Sep 29, 2023
1 parent 6db107c commit b004f23
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions SharedProcessors/VariableToString.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ def main(self):

if value is not None:
self.env[output_variable] = value
self.output_variables[output_variable] = {
"description": "the custom output"
}
if input_variable != output_variable:
self.output_variables[output_variable] = {
"description": "the string output"
}
else:
raise ProcessorError(f"Variable not found.")
raise ProcessorError("Variable not found.")


if __name__ == "__main__":
Expand Down

0 comments on commit b004f23

Please sign in to comment.