From c7d3e08bf0ccae62538c5fa0bb8d3383ab20ab49 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Fri, 30 Jul 2021 10:44:56 +0300 Subject: [PATCH] [~] Refactor --- python/tasks/mlb_player.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/tasks/mlb_player.py b/python/tasks/mlb_player.py index 99c3dad..d6eb3d8 100644 --- a/python/tasks/mlb_player.py +++ b/python/tasks/mlb_player.py @@ -1526,13 +1526,13 @@ def kernel_25(images, delay=None): t8, ] ) - t9 = os.path.join(os.path.split(t3)[1], 'input.txt') + t9 = os.path.join(t3, 'input.txt') with io.open(t9, 'w') as f: f.write( '\n'.join( [ - 'file %s' % o + 'file %s' % os.path.split(o)[1] for o in t6 ] )