licel.py

changeset 31
b243f896e5f4
parent 28
73337ce10473
child 33
2984158468e6
--- 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