From 7b8d39cea86f1a85df2cfce26f5502f3f7ebdad4 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Mon, 2 Aug 2021 13:46:16 +0300 Subject: [PATCH] [~] Refactor --- python/tasks/mlb_player.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/python/tasks/mlb_player.py b/python/tasks/mlb_player.py index e77aeaf..7825bcf 100644 --- a/python/tasks/mlb_player.py +++ b/python/tasks/mlb_player.py @@ -2335,7 +2335,11 @@ def kernel_37(): 2. https://www.play-cricket.com/website/results/4721802 ''' -def kernel_38(video_path): +def kernel_38( + video_path, + framerate=None, + max_seconds=None, +): t2 = hashlib.sha256( video_path.encode('utf-8') ).hexdigest() @@ -2353,7 +2357,11 @@ def kernel_38(video_path): ] ) - kernel_28(t1) + kernel_28( + t1, + framerate=framerate, + max_seconds=max_seconds + ) o_29 = kernel_29( t1,