From ad1d9170433ed1de98bdd40b5778adf129951196 Mon Sep 17 00:00:00 2001 From: antoniogonzalezsuarez <112699773+antoniogonzalezsuarez@users.noreply.github.com> Date: Mon, 16 Dec 2024 18:42:20 +0000 Subject: [PATCH] Add {} to fix f-string --- GitHubClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GitHubClient.py b/GitHubClient.py index d703efc..7800660 100644 --- a/GitHubClient.py +++ b/GitHubClient.py @@ -70,7 +70,7 @@ def get_last_diff(self): pr_search = re.search(pr_url_pattern, diff_url) if pr_search: pr_number = pr_search.group(1) - diff_url = f'self.repos_url{self.repo}/pulls/{pr_number}' + diff_url = f'{self.repos_url}{self.repo}/pulls/{pr_number}' elif self.before != '0000000000000000000000000000000000000000': # There is a valid before SHA to compare with, or this is a release being created. diff_url = f'{self.repos_url}{self.repo}/compare/{self.before}...{self.sha}'