Skip to content

Commit a09658d

Browse files
jirhikerCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 36c1b0f commit a09658d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
def _resolve_version() -> str:
2121
env = os.getenv("APP_VERSION")
2222
if env:
23-
return env.lstrip("v")
23+
return env.removeprefix("v")
2424
try:
2525
return _pkg_version("OcotilloAPI")
2626
except PackageNotFoundError:

0 commit comments

Comments
 (0)