@Throttle(MIN_TIME_BETWEEN_UPDATES)
def send_data(name, msg):
 import dweepy
 try:
  dweepy.dweet_for(name, msg)
 except dweepy.DweepyError:
  _LOGGER.error("Error saving data '%s' to Dweet.io", msg)

@ Throttle ( MIN_TIME_BETWEEN_UPDATES ) def send_data ( name , msg ) : import dweepy try : dweepy . dweet_for ( name , msg ) except dweepy . DweepyError : _LOGGER . error ( "Error saving data '%s' to Dweet.io" , msg )
send the collected data to dweet .