Skip to content

Commit

Permalink
Fixed parsing cyrillic text in sms
Browse files Browse the repository at this point in the history
  • Loading branch information
m-krasikov committed Jan 25, 2020
1 parent 82d4dfa commit feac71b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions huaweisms/api/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def check_error(elem: Element) -> Union[dict, None]:


def api_response(r: requests.Response) -> dict:
r.encoding = ''
if r.status_code != 200:
r.raise_for_status()

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup

version = '0.0.6'
version = '0.0.7'

with open('requirements.txt') as fd:
requirements = [line.strip() for line in fd if line.strip()]
Expand Down

0 comments on commit feac71b

Please sign in to comment.