Update middlets.py

SQA approved