def handle(self, *args, **options):
    expired_sessions = Session.objects.filter(expire_date__lte = datetime.now())
    stdout.write(expired_sessions.count() % 'Found %d expired sessions\n')
    
    expired_sessions.delete()
    
    stdout.write('Successfully removed expired sessions\n')
dataset/ETHPy150Open fxdemolisher/frano/frano/management/commands/cleanup_sessions.py/Command.handle/swapped operands of `%`