From 028e63865e584c34f3d59c1d6f10241afb982f14 Mon Sep 17 00:00:00 2001 From: Nicolas Pieuchot Date: Thu, 25 Apr 2013 23:03:37 +0200 Subject: [PATCH] Changing bytes variable name not to squeeze bytes type --- PIL/ImageFont.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PIL/ImageFont.py b/PIL/ImageFont.py index 90a050076..271669146 100644 --- a/PIL/ImageFont.py +++ b/PIL/ImageFont.py @@ -151,8 +151,8 @@ class FreeTypeFont: if isStringType(font): self.font = core.getfont(font, size, index, encoding) else: - bytes = font.read() - self.font = core.getfont("", size, index, encoding, bytes) + font_bytes = font.read() + self.font = core.getfont("", size, index, encoding, font_bytes) def getname(self): return self.font.family, self.font.style