- commit
- 90fcdfc6d3a45de74dd51fc89fda8c72953e2405
- parent
- 137e0917fae804858f09560b55e4c945184914e1
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-11-04 10:44
lint: rm unnecessary parens from lru_cache
Diffstat
| M | cplay.py | 4 | ++-- |
1 files changed, 2 insertions, 2 deletions
diff --git a/cplay.py b/cplay.py
@@ -92,7 +92,7 @@ def get_socket(path): 92 92 time.sleep(0.1) 93 93 94 9495 -1 @functools.lru_cache()-1 95 @functools.lru_cache 96 96 def relpath(path): 97 97 if path.startswith('http'): 98 98 return path @@ -398,7 +398,7 @@ class Filelist(List): 398 398 title += 'search "%s"/' % self.rsearch_str 399 399 return title 400 400401 -1 @functools.lru_cache()-1 401 @functools.lru_cache 402 402 def format_item(self, item): 403 403 s = super().format_item(item) 404 404 ext = get_ext(item)