140 return link
141
142 def get_gread_details(self, link):
143 self.gread_details = scrape_book(link)144
145 def get_genres(self):
146 vars_ = ["genres", "genre", "tags", "shelves"]
135 vars_ = ["goodreads url", "goodreadsurl", "goodreadslink", "goodreadslink", "GR url", "GRurl", "goodreads"]
136 link = self.get_value_from_key(vars_)
137 if not link:
138 link = get_greads_links([[self.get_title_input(), self.get_author_input()]])[-1][-1]139 self.get_gread_details(link)
140 return link
141
172 def get_author_thumbnail(self):
173 return self.gread_details["author_thumbnail"]
174
175 @time_took176 def __call__(self):
177 self.kwargs.update(
178 url=self.get_greads_link(),
The variable name is not defined where it is used. This will lead to an error during the runtime. Make sure there is no typo. If the name was supposed to be imported, verify that you've actually imported the name.
import os.path
if os.path.exits('setup.cfg'): # misspelled `exists`
print('Found config file')
import os.path
if os.path.exists('setup.cfg'):
print('Found config file')