Skip to content

Conversation

@kunambi
Copy link
Contributor

@kunambi kunambi commented Jun 22, 2021

Experiencing an error when using c.get_symbol("EUR")

  File "/usr/local/lib/python3.8/site-packages/forex_python/converter.py", line 137, in get_symbol
    currency_dict = self._get_data(currency_code)
  File "/usr/local/lib/python3.8/site-packages/forex_python/converter.py", line 125, in _get_data
    currency_data = json.loads(f.read())
  File "/usr/local/lib/python3.8/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1252: ordinal not in range(128)

kunambi added 3 commits June 22, 2021 19:51
Replace Bitcoin symbol with unicode
Replace Bitcoin symbol with unicode
@ashwin31 ashwin31 merged commit fcc62b7 into MicroPyramid:master Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants