From feabddee81e2a5708389bdf4c930efcbab9f4cbf Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 27 Aug 2020 16:30:37 -0700 Subject: [PATCH] Use a more helpful print statement. --- subtitle_shift_pointsync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subtitle_shift_pointsync.py b/subtitle_shift_pointsync.py index 788ccc4..111591a 100644 --- a/subtitle_shift_pointsync.py +++ b/subtitle_shift_pointsync.py @@ -115,7 +115,7 @@ def linear(slope, intercept): ''' def f(x): y = (slope * x) + intercept - print(x, y, f'{y:.03f}', seconds_to_hms(y)) + print(seconds_to_hms(x), '-->', seconds_to_hms(y), 'slope=', slope) return y return f