Commits

Alex Stapleton committed 893bfa3 Merge

Merged in private/openpyxl-2/private/cellpy-edited-online-with-bitbucket-1392397044262 (pull request #2)

cell.py edited online with Bitbucket

  • Participants
  • Parent commits 49ac460, 2597169
  • Branches 1.9

Comments (0)

Files changed (1)

openpyxl/cell/cell.py

 
     def _set_number_format(self, format_code):
         """Set a new formatting code for numeric values"""
-        self._read_style.number_format.format_code = format_code
+        self.style.number_format.format_code = format_code
 
     @property
     def has_style(self):