diff --git a/src/PIL/ImageShow.py b/src/PIL/ImageShow.py index f8829fc21..d76c26090 100644 --- a/src/PIL/ImageShow.py +++ b/src/PIL/ImageShow.py @@ -269,7 +269,7 @@ class DisplayViewer(UnixViewer): else: raise TypeError("Missing required argument: 'path'") args = ["display"] - if "title" in options: + if "title" in options and options["title"] is not None: args += ["-name", options["title"]] args.append(path)