Obtener saldo de timbres
This commit is contained in:
parent
8cb4bf3e18
commit
4208a32d22
|
@ -258,7 +258,6 @@ class PACComercioDigital(object):
|
|||
f"UUID={data['uuid']}",
|
||||
)
|
||||
data = '\n'.join(data)
|
||||
print(data)
|
||||
result = self._post(url, data)
|
||||
|
||||
if result is None:
|
||||
|
@ -324,6 +323,7 @@ class PACComercioDigital(object):
|
|||
'Host': host,
|
||||
'Connection' : 'Keep-Alive',
|
||||
}
|
||||
data = {'usr': data['rfc'], 'pwd': data['password']}
|
||||
try:
|
||||
result = requests.get(url, params=data, headers=headers, timeout=TIMEOUT)
|
||||
except ConnectionError as e:
|
||||
|
|
Loading…
Reference in New Issue