twitter-api-client
twitter-api-client copied to clipboard
Search logger is called without being initialized
I noticed that in the Search class, if debug=False
(which is by default), the client fails to handle some errors.
This is because:
- If
debug=False
,self.logger==None
- While some calls to
logger.debug()
checks forself.debug == True
, some lines in_backoff()
don't and directly calllogger.debug()
- This causes the library to raise an uncaught error
PS: Thank you so much for this library which is finally allowing me to export my bookmarks properly