From 3e5007c84df5212f6100c665917d2f972d20dd0a Mon Sep 17 00:00:00 2001 From: shamsa Date: Mon, 25 Jan 2016 14:51:27 +0400 Subject: [PATCH] Fix failure in test_imagefont.py --- PIL/ImageFont.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIL/ImageFont.py b/PIL/ImageFont.py index 04e3148a5..7e61e9c0d 100644 --- a/PIL/ImageFont.py +++ b/PIL/ImageFont.py @@ -144,7 +144,7 @@ class FreeTypeFont(object): return self.font.getsize(text)[1] def getmask(self, text, mode="", direction=None, features=[]): - return self.getmask2(text, mode, direction, features)[0] + return self.getmask2(text, mode, direction=direction, features=features)[0] def getmask2(self, text, mode="", fill=Image.core.fill, direction=None, features=[]): size, offset = self.font.getsize(text)