Skip to content

Commit ab9e4c9

Browse files
committed
Fix total_seconds()
1 parent d4a5b51 commit ab9e4c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytimecode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def total_seconds(self):
5656
if self.framerate == '59.94':
5757
drop_fix *= 2
5858

59-
return (self.hrs * 3600) + (self.mins * 60) + self.secs + (self.frames - drop_fix) / self.int_framerate
59+
return (self.hrs * 3600) + (self.mins * 60) + self.secs + (self.frs - drop_fix) / self.int_framerate
6060

6161
def __lt__(self, other):
6262
return self.total_seconds() < other.total_seconds()

0 commit comments

Comments
 (0)