Skip to content

Commit a2c5e45

Browse files
committed
Use None for base client HOME_URL.
1 parent 6491bc5 commit a2c5e45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/judge0/clients.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ def __init__(
4646
self.languages = self.get_languages()
4747
self.config = self.get_config_info()
4848
except Exception as e:
49+
home_url = getattr(self, "HOME_URL", None)
4950
raise RuntimeError(
50-
f"Authentication failed. Visit {self.HOME_URL} to get or "
51+
f"Authentication failed. Visit {home_url} to get or "
5152
"review your authentication credentials."
5253
) from e
5354

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy