title: How can I get this for loop to skip over meetings where there is no attendee and no external attendee based on domain.com?
body: <p>I am looking to print out the calendar event name and external email based on the criteria below. Currently the for loop works and I get desired results until I hit a meeting where there were no attendees. </p>
  
  <pre><code>for calendar_id in me:
          count = 0
          eventsResult = service.events().list(
              calendarId=calendar_id,
              timeMax=now,
              timeMin=end_date).execute()
  
          events = service.events().list(calendarId=calendar_id).execute()
          events = events.get('items', [])
  
  
          for event in events:
              start = event['start'].get('dateTime')
  
              for attendees in event['attendees']:
                  atte = attendees.get('email')
                  try:
                      attid = event.get(attendees)
                      if "domain.com" not in atte:
                          print('\n' + event['summary'] + " " + "(Calendar - " + calendar_id + ")")
                          print(attendees['email'])
                      else:
                          continue
                  except:
                      pass
  </code></pre>