From ea94aa1a86f4d37b545af32d5f5301bef3694a5b Mon Sep 17 00:00:00 2001 From: Siarhei Siniak <siarheisiniak@yahoo.com> Date: Mon, 2 Aug 2021 15:07:52 +0300 Subject: [PATCH] [~] Refactor --- python/tasks/mlb_player.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/tasks/mlb_player.py b/python/tasks/mlb_player.py index 704bedf..c718eb7 100644 --- a/python/tasks/mlb_player.py +++ b/python/tasks/mlb_player.py @@ -2384,7 +2384,8 @@ def kernel_38( video_path.encode('utf-8') ).hexdigest() - t1 = '/kaggle/working/video.mp4' + t1 = '/kaggle/working/video%s.mp4' % t2 + if not os.path.exists(t1): subprocess.check_call( [