From ddb909c2879d344703c2c54a35bed864df65c051 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Thu, 17 Oct 2024 16:04:44 +0300 Subject: [PATCH] Fix fosmat string --- valhallaAPI/valhalla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/valhallaAPI/valhalla.py b/valhallaAPI/valhalla.py index 5e6b334..602d915 100644 --- a/valhallaAPI/valhalla.py +++ b/valhallaAPI/valhalla.py @@ -79,7 +79,7 @@ def set_proxy(self, proxy, user="", pwd=""): # Auth auth_string = "" if user: - auth_string = "{1}:{2}@".format(user, pwd) + auth_string = "{0}:{1}@".format(user, pwd) # Set the proxy self.proxies = {u.scheme: '{0}://{1}{2}/'.format( u.scheme,