From 42633d7a31cf4440bb1ce3aa7b6441d2e520e82d Mon Sep 17 00:00:00 2001 From: wiredfool Date: Sat, 3 Oct 2015 08:29:52 +0100 Subject: [PATCH] spaces. --- PIL/Image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PIL/Image.py b/PIL/Image.py index d90996a57..f09168708 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -1623,12 +1623,12 @@ class Image(object): open_fp = False if isPath(fp): filename = fp - open_fp=True + open_fp = True elif sys.version_info >= (3, 4): from pathlib import Path if isinstance(fp, Path): filename = str(fp.resolve()) - open_fp=True + open_fp = True elif hasattr(fp, "name") and isPath(fp.name): # only set the name for metadata purposes filename = fp.name