Skip to content

Commit

Permalink
Merge pull request #15 from uKaigo/master
Browse files Browse the repository at this point in the history
Fix an error left in the last PR
  • Loading branch information
AndyTempel authored Dec 15, 2020
2 parents 9d8a379 + 5c825e5 commit b211031
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ksoftapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
__author__ = 'AndyTempel'
__license__ = 'GNU'
__copyright__ = 'Copyright 2018-2020 AndyTempel'
__version__ = '0.3.1a'
__version__ = '0.3.3a'

import logging
from collections import namedtuple
Expand All @@ -19,7 +19,7 @@

VersionInfo = namedtuple('VersionInfo', 'major minor micro releaselevel serial')

version_info = VersionInfo(major=0, minor=3, micro=1, releaselevel='alpha', serial=0)
version_info = VersionInfo(major=0, minor=3, micro=3, releaselevel='alpha', serial=0)

try:
from logging import NullHandler
Expand Down
3 changes: 1 addition & 2 deletions ksoftapi/apis/kumo.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,4 @@ async def currency(self, from_: str, to: str, value: str):
if r.get('code', 200) == 404:
raise NoResults

result = r['data']
return Currency(result)
return Currency(r)

0 comments on commit b211031

Please sign in to comment.