Revert title() to capitalize()

This commit is contained in:
Zohar Meir 2024-01-04 09:41:24 +02:00 committed by GitHub
parent 560d30dbb1
commit 39c1866121
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -297,7 +297,7 @@ class PRDescription:
value = self.file_label_dict
key_publish = "PR changes walkthrough"
else:
key_publish = key.rstrip(':').replace("_", " ").title()
key_publish = key.rstrip(':').replace("_", " ").capitalize()
pr_body += f"## {key_publish}\n"
if 'walkthrough' in key.lower():
if self.git_provider.is_supported("gfm_markdown"):