Skip to content

Commit 0829305

Browse files
committed
fix: remove unecessary casting to list
1 parent 21c5aca commit 0829305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tldr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def get_platform() -> str:
205205

206206

207207
def get_platform_list() -> List[str]:
208-
platforms = ['common'] + list(set(list(OS_DIRECTORIES.values())))
208+
platforms = ['common'] + list(set(OS_DIRECTORIES.values()))
209209
current_platform = get_platform()
210210
platforms.remove(current_platform)
211211
platforms.insert(0, current_platform)

0 commit comments

Comments
 (0)