INNER CODE UNIT · Python

plugin_activated

infobyte/emploleaks · emploleaks.py:674

    def plugin_activated(func):
        def wrapper(*args, **kwargs):
            if args[0].plugin_name == '':
                log.warning(f"You need to select a plugin with the '{Style.BRIGHT}{Fore.WHITE}use{Style.RESET_ALL}' command")
                return
            func(*args)
        return wrapper

    def company_selected(func):
        def wrapper(*args, **kwargs):
            if args[0].company_name == '' and args[0].company_id == None:
                log.warning(f"You need to select a company with the '{Style.BRIGHT}{Fore.WHITE}select_company{Style.RESET_ALL}' command")
                return
            func(*args)
        return wrapper

    def _generate_html_report(self, filename, use_ai=False):
        """Generate a modular dashboard HTML report with tabs for each data category."""

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…