mirror of
https://github.com/langgenius/dify.git
synced 2026-05-11 23:18:39 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
62d25cbffb
commit
04472cbd58
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user