From a75f738453b501228e1a0b8a3481b657d7c85caa Mon Sep 17 00:00:00 2001 From: alan Date: Wed, 5 Feb 2020 20:17:13 -0600 Subject: [PATCH] Rename url --- dhlmex/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dhlmex/client.py b/dhlmex/client.py index 67e5fbd..14b7090 100644 --- a/dhlmex/client.py +++ b/dhlmex/client.py @@ -8,7 +8,7 @@ from .exceptions import DhlmexException from .resources import Guide, PostCode, Resource -API_URL = 'https://prepaid.dhl.com.mx/Prepago' +PREPAID_URL = 'https://prepaid.dhl.com.mx/Prepago' USER_AGENT = ( 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 ' '(KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36' @@ -20,7 +20,7 @@ class Client: - base_url: ClassVar[str] = API_URL + base_url: ClassVar[str] = PREPAID_URL headers: Dict[str, str] session: Session