mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
BUG: Only set title in ImageShow.DisplayViewer when title provided
This commit is contained in:
parent
b582806887
commit
5588f572de
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user