Index: rietveld.py |
diff --git a/rietveld.py b/rietveld.py |
index 0114cfe0ccee6bf9922c03f9c8575191484ef06b..eddf77eef50a7e85b2e38d7783e30f18b7798e25 100644 |
--- a/rietveld.py |
+++ b/rietveld.py |
@@ -564,7 +564,9 @@ class JwtOAuth2Rietveld(Rietveld): |
private_key_password = 'notasecret' |
self.url = url.rstrip('/') |
- bot_url = self.url + '/bots' |
+ bot_url = self.url |
+ if self.url.endswith('googleplex.com'): |
+ bot_url = self.url + '/bots' |
with open(client_private_key_file, 'rb') as f: |
client_private_key = f.read() |