From 04472cbd58468aa7035e1f859c934b8afe7419d8 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 09:31:23 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- api/extensions/ext_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/extensions/ext_storage.py b/api/extensions/ext_storage.py index 095b6ab846..ec50e5d8f7 100644 --- a/api/extensions/ext_storage.py +++ b/api/extensions/ext_storage.py @@ -134,7 +134,7 @@ class Storage: if not self._path_prefix: return results prefix_with_slash = self._path_prefix + "/" - return [r[len(prefix_with_slash):] if r.startswith(prefix_with_slash) else r for r in results] + return [r.removeprefix(prefix_with_slash) for r in results] storage = Storage()