Skip to content

Commit

Permalink
soluciona error en caso de mensaje vacio
Browse files Browse the repository at this point in the history
  • Loading branch information
fixmycode committed Sep 30, 2020
1 parent 254693b commit c954b45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pykhipu/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def __init__(self, message):

@classmethod
def from_data(cls, data):
return cls(data['message'])
return cls(data.get('message'))

@property
def message(self):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pykhipu"
version = "0.1.8"
version = "0.1.9"
description = "Wrapper for the Khipu payment service API v2.0"
authors = ["Pablo Albornoz <pablo.albornoz.n@gmail.com>"]
license = "MIT"
Expand Down

0 comments on commit c954b45

Please sign in to comment.