View Single Post
Old 01-11-2021, 02:30 AM   #11
bugstomper
Member
bugstomper began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2017
Device: kindle
Patching certifi or requests like that makes sense. Sorry if this is a newbie question, but Googling didn't help... What does P('mozilla-ca-certs.pem') mean? It looks like a function named P but I can't find documentation for it and it is hard to search for.

Also, do you have an answer for my question about load_actual_plugin? The entire definition for it in FanFicFare's __init__.py is simply

Code:
    def load_actual_plugin(self, gui):
        with self: # so the sys.path was modified while loading the
                   # plug impl.
            return InterfaceActionBase.load_actual_plugin(self,gui)
Is this the root cause of the problem, that it is returning a value that is evaluated within the scope of the with self: that ends up being used outside of the scope? If that is the case, where should the calls to self.__enter__() and self:__exit__() be?
bugstomper is offline   Reply With Quote