miri64 / pycomicvine

A wrapper for comicvine.com
MIT License
20 stars 10 forks source link

pycomicvine.Search() causes str() infinite loop recursion. #8

Open hugoprudente opened 1 year ago

hugoprudente commented 1 year ago
import pycomicvine
pycomicvine.api_key = "<apikey>"
print(pycomicvine.Search("Avengers"))
Traceback (most recent call last):
  File "/srccomicvine/pycomicvine/comics.py", line 11, in <module>
    print(pycomicvine.Search("Avengers"))
  File "/srccomicvine/pycomicvine/pycomicvine/__init__.py", line 446, in __str__
    return str(str(self))
  File "/srccomicvine/pycomicvine/pycomicvine/__init__.py", line 446, in __str__
    return str(str(self))
  File "/srccomicvine/pycomicvine/pycomicvine/__init__.py", line 446, in __str__
    return str(str(self))
  [Previous line repeated 330 more times]
RecursionError: maximum recursion depth exceeded while calling a Python object