Skip to content
Browse files

fixed bug in badge company color

  • Loading branch information...
1 parent 212d6e2 commit 44129b1bff870d58081afb722e2e44c698c26c95 @kausikram kausikram committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 make_my_badge/badge/badgeImage.py
View
2 make_my_badge/badge/badgeImage.py
@@ -42,7 +42,7 @@ def __init__(self, filename, name_color=None,company_color=None,):
self.draw = ImageDraw.Draw(self.img)
self.width = int(self.img.size[0]*0.9)
self.name_color = name_color if name_color else NAME_COLOR
- self.company_color = name_color if company_color else COMPANY_COLOR
+ self.company_color = company_color if company_color else COMPANY_COLOR
def drawAlignedText(self, pos, text, (font, color), xtransform, ytransform):
width,height = font.getsize(text)

0 comments on commit 44129b1

Please sign in to comment.
Something went wrong with that request. Please try again.