Update SpecialSessionComponent.py

refactored