python3-mega
python3-mega copied to clipboard
JSONDecodeError
>>> files = m.get_files() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/python3-mega/mega/mega.py", line 123, in get_files attributes = dec_attr(attributes, k) File "/root/python3-mega/mega/crypto.py", line 70, in dec_attr return json.loads(attr[4:]) File "/usr/lib/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib/python3.6/json/decoder.py", line 342, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 19 (char 18)