Update main.py
fr->en
This commit is contained in:
1 parent
e56910d7e9
commit
f5a45bf87c
1 file changed
+1
-1
@@ -33,7 +33,7 @@ def get_lanyard():
|
|||||||
_cache["time"] = time.monotonic()
|
_cache["time"] = time.monotonic()
|
||||||
except requests.RequestException:
|
except requests.RequestException:
|
||||||
if _cache["data"] is None:
|
if _cache["data"] is None:
|
||||||
raise fastapi.HTTPException(status_code=502, detail="Lanyard indisponible")
|
raise fastapi.HTTPException(status_code=502, detail="Lanyard not available") #I wrote this in French, lol
|
||||||
return _cache["data"]
|
return _cache["data"]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user