Commit 42b4fb69 authored by PidgeyL's avatar PidgeyL
Browse files

allow other content to be seen as a 'web plugin'

parent d1062bbf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -71,7 +71,8 @@ class PluginManager(metaclass=Singleton):
        for plug in self.getWebPlugins():
            try:
                page = plug.getPage(**args)
                if page and page[0]: # Make sure there is a page
                if ((page and page[0]) or # Make sure there is a page
                   (page and page[1] and page[2])): # Or data
                    plugins.append(plug)
            except Exception as e:
                print("[!] Failed to check webpage from module %s: "%(plug.getName()))