Skip to content

Commit

Permalink
Avoid empty tempo data
Browse files Browse the repository at this point in the history
  • Loading branch information
yomguy committed Aug 7, 2018
1 parent bccb970 commit cbba5c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion timeside/plugins/analyzer/externals/vamp_tempo.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,6 @@ def unit():
def post_process(self):
super(VampTempo, self).post_process()
tempo = self.new_result(data_mode='value', time_mode='global')
tempo.data_object.value = self.vamp_results['list'][0]['values']
if self.vamp_results['list']:
tempo.data_object.value = self.vamp_results['list'][0]['values']
self.add_result(tempo)

0 comments on commit cbba5c6

Please sign in to comment.