From 1decf4666d37cddc16f8b28b3bc7888437e0a777 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 11 Aug 2023 22:48:48 +0300 Subject: [PATCH] Refactor(torrent): Use `name` directly --- torrent | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/torrent b/torrent index 1a3c2c1..0e396ee 100755 --- a/torrent +++ b/torrent @@ -126,8 +126,7 @@ def mctorrent_list(): if name_utf8: path = '/'.join([name_utf8] + file['path.utf-8']) else: - _name_utf8 = name - path = '/'.join([_name_utf8] + file['path.utf-8']) + path = '/'.join([name] + file['path.utf-8']) else: if name_utf8: path = '/'.join([name_utf8] + path) -- 2.39.5