socialwifi / RouterOS-api

Python API to RouterBoard devices produced by MikroTik.
MIT License
258 stars 98 forks source link

Update api_structure.py #69

Open skeapskeap opened 3 years ago

skeapskeap commented 3 years ago

Fix for non-ascii chacacters in mikrotik config

File "home\user.env\lib\site-packages\routeros_api\api_structure.py", line 31, in get_python_value return bytes.decode() UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8f in position 6: invalid start byte