Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show_akas fails to run #47

Open
sirmarksalot opened this issue Jan 2, 2022 · 1 comment
Open

show_akas fails to run #47

sirmarksalot opened this issue Jan 2, 2022 · 1 comment

Comments

@sirmarksalot
Copy link

sirmarksalot commented Jan 2, 2022

show_akas fails to run

>>> show_akas(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pytvmaze/tvmaze.py", line 383, in __repr__
    return '<AKA(name={name},country={country})>'.format(name=name, country=country)
NameError: name 'name' is not defined
@hxbt
Copy link

hxbt commented Feb 22, 2023

show_akas fails to run

>>> show_akas(1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pytvmaze/tvmaze.py", line 383, in __repr__
    return '<AKA(name={name},country={country})>'.format(name=name, country=country)
NameError: name 'name' is not defined

Edit line 383 --> ... format(name=self.name, country=self.country)

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

No branches or pull requests

2 participants