BUG: Only set title in ImageShow.DisplayViewer when title provided

This commit is contained in:
DWesl 2022-02-06 12:03:36 -05:00
parent b582806887
commit 5588f572de

View File

@ -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)