mirror of
https://github.com/beetbox/beets.git
synced 2026-01-09 01:15:38 +01:00
Remove an unnecessary list conversion (#2399)
Indexing a string works just fine.
This commit is contained in:
parent
ad957b51d8
commit
c2b6623aac
1 changed files with 0 additions and 1 deletions
|
|
@ -1476,7 +1476,6 @@ class DefaultTemplateFunctions(object):
|
|||
|
||||
# Assign a left and right bracket or leave blank if argument is empty.
|
||||
if len(bracket) == 2:
|
||||
bracket = list(bracket)
|
||||
bracket_l = bracket[0]
|
||||
bracket_r = bracket[1]
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue