Permalink
Browse files

Fixed a problem where the fonts used to generate the images weren't a…

…ccessible to the voting handler.
  • Loading branch information...
1 parent ad0a823 commit b79ff4bc723213f568a2cd1c6990251c77f5d397 @jkomoros jkomoros committed Sep 24, 2012
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
@@ -32,8 +32,8 @@
YELLOW = (252, 207, 77, 255)
LIGHT_ORANGE = (246, 148, 61, 255)
-LATO = ImageFont.truetype("static/fonts/Lato-Regular.ttf", 46)
-LATO_BLACK = ImageFont.truetype("static/fonts/Lato-Black.ttf", 46)
+LATO = ImageFont.truetype("fonts/Lato-Regular.ttf", 46)
+LATO_BLACK = ImageFont.truetype("fonts/Lato-Black.ttf", 46)
#TODO: express the resizing in terms of constants
LOGO = Image.open("robohornet.png").resize((46,46))

0 comments on commit b79ff4b

Please sign in to comment.