fix adi script: there's no timedelta.total_seconds on python2.6 (bug 1014752)
Merge pull request #146 from magopian/adi-script-updated-no-total-seconds

fix adi script: there's no timedelta.total_seconds on python2.6 (bug 1014752)