Skip to content

Commit c802d89

Browse files
committed
fix
1 parent 0c2fa9d commit c802d89

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

flet-gmftech/pages/coins.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@
1111
from pyecharts.globals import ThemeType
1212
import httpx
1313
from datetime import datetime
14-
import micropip
1514

1615

1716
# Função assíncrona para buscar os dados da API usando httpx
1817
async def fetch_usd_brl_data():
19-
await micropip.install("ssl") # Install ssl module
2018
url = "https://economia.awesomeapi.com.br/json/daily/USD-BRL/15"
21-
async with httpx.AsyncClient() as client:
19+
async with httpx.AsyncClient(verify=False) as client:
2220
try:
2321
response = await client.get(url)
2422
if response.status_code == 200:

0 commit comments

Comments
 (0)