Skip to content

Commit

Permalink
Move return outside the loop
Browse files Browse the repository at this point in the history
Add missing colour
Resolves #485
  • Loading branch information
Themanwithoutaplan committed Jun 29, 2015
1 parent a49fe6b commit 51675d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openpyxl/styles/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'00FF99CC', '00CC99FF', '00FFCC99', '003366FF', '0033CCCC', #45-49
'0099CC00', '00FFCC00', '00FF9900', '00FF6600', '00666699', #50-54
'00969696', '00003366', '00339966', '00003300', '00333300', #55-59
'00993300', '00993366', '00333399', 'System Foreground', 'System Background' #60-64
'00993300', '00993366', '00333399', '00333333', 'System Foreground', 'System Background' #60-64
)

BLACK = COLOR_INDEX[0]
Expand Down
2 changes: 1 addition & 1 deletion openpyxl/workbook/workbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def shared_styles(self):
number_format = self._number_formats[sid.number_format - 164]
styles.append(Style(font, fill, border, alignment,
number_format, protection))
return styles
return styles


@property
Expand Down

0 comments on commit 51675d6

Please # to comment.