Changes (again) duration in licel files.

Mon, 26 Jan 2015 17:55:34 +0200

author
Iannis <ioannis@inoe.ro>
date
Mon, 26 Jan 2015 17:55:34 +0200
changeset 31
b243f896e5f4
parent 30
28d7b0974fe6
child 32
022f6f2bc09c

Changes (again) duration in licel files.

licel.py file | annotate | diff | comparison | revisions
--- a/licel.py	Mon Nov 24 11:35:40 2014 +0200
+++ b/licel.py	Mon Jan 26 17:55:34 2015 +0200
@@ -184,7 +184,7 @@
         
         if len(raw_start_in_seconds) == 1: # If only one file imported
             duration = self.durations.itervalues().next() # Get the first (and only) raw_info
-            duration_sec = duration.seconds
+            duration_sec = duration
         else:
             duration_sec = np.diff(raw_start_in_seconds)[0]
 

mercurial