Skip to content

Commit

Permalink
fixed pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
cpavelchek committed Jul 14, 2020
1 parent 214e2c3 commit b3467e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis_consumer/consumers/multiplex_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _consume(self, redis_hash):
# squeeze out extra channel dimension added by 'get_image'
image = np.squeeze(image)

# if for some reason a one-channel image was passed, add the channel back if __name__ == '__main__':
# if for some reason a one-channel image was passed, add the channel back
if image.ndim == 2:
image = np.expand_dims(image, -1)

Expand Down

0 comments on commit b3467e9

Please sign in to comment.