Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
Fix fstring
Browse files Browse the repository at this point in the history
  • Loading branch information
AtilioA committed Mar 29, 2020
1 parent a545a29 commit baa6d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion COVID19_ES_Py/boletim.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def url_ultimo_boletim(self):
try:
articleNoticia = html.find('article', class_='noticia list-content-item content-item')
ultimaNoticia = articleNoticia.find('a')['href']
return f"DOMINIO_BOLETINS{ultimaNoticia}"
return f"{DOMINIO_BOLETINS}{ultimaNoticia}"
except AttributeError:
return None

Expand Down

0 comments on commit baa6d34

Please sign in to comment.