Skip to content

Commit

Permalink
Merge pull request #254 from antoniogonzalezsuarez/feature/fix_f_stri…
Browse files Browse the repository at this point in the history
…ng_diff_url

Add {} to fix f-string
  • Loading branch information
alstr authored Dec 16, 2024
2 parents c9ead1e + ad1d917 commit 8e25063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GitHubClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
Expand Down

0 comments on commit 8e25063

Please sign in to comment.