Update pylingva.py

This commit is contained in:
Namhyeon Go 2024-06-07 05:59:10 +00:00
parent e3f30d727e
commit 0cc80088b7

View File

@ -4,8 +4,7 @@ import requests as req
class pylingva:
def __init__(self):
url = "https://lingva.ml"
def __init__(self, url = "https://lingva.ml"):
try:
check_url = req.get(url)
check_url.raise_for_status()