From 108512eae26e0b1dcbcd4ca47f168796f443ecff Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Thu, 15 Aug 2019 20:41:48 +1000 Subject: [PATCH] Cleaned up strings --- src/PIL/ImageShow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/ImageShow.py b/src/PIL/ImageShow.py index 29b15351d..13df7dfbe 100644 --- a/src/PIL/ImageShow.py +++ b/src/PIL/ImageShow.py @@ -179,7 +179,7 @@ else: with open(path, "r") as f: command = self.get_command_ex(file, **options)[0] subprocess.Popen( - ["im=$(cat);" + command + " $im;" "rm -f $im"], shell=True, stdin=f + ["im=$(cat);" + command + " $im; rm -f $im"], shell=True, stdin=f ) os.remove(path) return 1