Issue #187 resolved
Kai Hoppert
created an issue

def set_printer_settings in worksheets.py places the paper_size and orientation to the wrong object.

Correct wold be

        self.page_setup.paper_size = paper_size
        assert orientation in (self.ORIENTATION_PORTRAIT, self.ORIENTATION_LANDSCAPE), "Values should be %s or %s" % (self.ORIENTATION_PORTRAIT, self.ORIENTATION_LANDSCAPE)
        self.page_setup.orientation = orientation

BTW: I tried to fork the repository and than clone it but get the message:

fatal: [REPOZ URL] openpyxl/info/refs not found: did you run git update-server-info on the server?

Any idea.

Comments (2)

  1. Log in to comment