PyFunceble/logs.py
def _write_content(cls, content, file):
        """
        Write the content into the given file.

        :param content: The dict to write.
        :type content: dict

        :param file: The file to write.
        :type file: str
        """

        if not PyFunceble.CONFIGURATION["no_files"]:
            if not isinstance(content, dict):
                content = {}

            Dict(content).to_json(file)
def _write_content(cls, content, file):
        if not PyFunceble.CONFIGURATION["no_files"]:
            if not isinstance(content, dict):
                content = {}

            Dict(content).to_json(file)
def _write_content ( cls , content , file ) : if not PyFunceble . CONFIGURATION [ "no_files" ] : if not isinstance ( content , dict ) : content = { } Dict ( content ) . to_json ( file )
Write the content into the given file.

        :param content: The dict to write.
        :type content: dict

        :param file: The file to write.
        :type file: str
Write the content into the given file .