From: Oleg Broytman Date: Fri, 11 Aug 2023 19:48:48 +0000 (+0300) Subject: Refactor(torrent): Use `name` directly X-Git-Url: https://git.phdru.name/?p=extfs.d.git;a=commitdiff_plain;h=1decf4666d37cddc16f8b28b3bc7888437e0a777 Refactor(torrent): Use `name` directly --- 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)