Skip to content

Commit

Permalink
✨ Added rotation into the workflow after the download
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertSuarez committed Apr 9, 2021
1 parent c366636 commit 70bb5c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions multiplexer/src/api/remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ def post():
if not image_path:
return make_response(correlation_id, True, error_id='002')

with Timer('Rotate image, if needed'):
image.rotate(image_path)

with Timer('Extract image dimensions'):
original_dimensions = image.get_dimensions(image_path)

Expand Down

0 comments on commit 70bb5c3

Please sign in to comment.