def format_separator(self, separator, color):
        """
        Format the given separator with the given color
        """
        if separator is None:
            separator = self.get_default_separator()
        if color is not None:
            separator = self.begin_color(color) + separator + self.end_color()
        self.separator = separator

        Format the given separator with the given color
        
py3status/output.py