You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I ran the Usage code in README.md, a TypeError occured which refers to this line : await f.write(self.results)
Then I changed this line to await f.write(self.results['title']) and everything works just fine.
I noticed that in previous edition of this README file, when aiofile was not introduced, this part of code used this dict self.results the same way. So I'm not sure which is the right way to print the result.
The text was updated successfully, but these errors were encountered:
When I ran the Usage code in README.md, a TypeError occured which refers to this line :
await f.write(self.results)
Then I changed this line to
await f.write(self.results['title'])
and everything works just fine.I noticed that in previous edition of this README file, when
aiofile
was not introduced, this part of code used this dictself.results
the same way. So I'm not sure which is the right way to print the result.The text was updated successfully, but these errors were encountered: