- commit
- ed656234e1da1bc0a6cc4aff13282a24f7bdd6ac
- parent
- 58fd15c7a46b4bf6fb033a84d45827d864b0eb35
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2026-04-24 16:04
remove special case in relpath might have been there for performance, but honestly not that important.
Diffstat
| M | cplay.py | 2 | -- |
1 files changed, 0 insertions, 2 deletions
diff --git a/cplay.py b/cplay.py
@@ -107,8 +107,6 @@ def get_mpv_version(): 107 107 def relpath(path): 108 108 if path.startswith('http'): 109 109 return path110 -1 elif path.startswith(filelist.path):111 -1 return path[len(filelist.path):].lstrip('/')112 110 else: 113 111 return os.path.relpath(path) 114 112