debug

error debuged: 
Traceback (most recent call last):
  File "plot_dataavailability.py", line 21, in <module>
    sta, comp, starttime, endtime, data_duration, gaps_duration, samplerate, flag = di
TypeError: 'DataAvailability' object is not iterable