Skip to content

Commit 7be5f69

Browse files
author
gabino
committed
Update README example to use TransferNotFoundError
1 parent 9a67dd5 commit 7be5f69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pytest
3333
```python
3434
from datetime import date
3535
from cep import Transferencia
36-
from cep.exc import NotFoundError
36+
from cep.exc import TransferNotFoundError
3737

3838
try:
3939
tr = Transferencia.validar(
@@ -47,7 +47,7 @@ try:
4747
pdf = tr.descargar()
4848
with open('CUENCA1555093850.pdf', 'wb') as f:
4949
f.write(pdf)
50-
except NotFoundError as e:
50+
except TransferNotFoundError as e:
5151
print('No se encontro la transferencia')
5252
```
5353

0 commit comments

Comments
 (0)