Cleaned up strings

This commit is contained in:
Andrew Murray 2019-08-15 20:41:48 +10:00
parent 03452d138d
commit 108512eae2

View File

@ -179,7 +179,7 @@ else:
with open(path, "r") as f: with open(path, "r") as f:
command = self.get_command_ex(file, **options)[0] command = self.get_command_ex(file, **options)[0]
subprocess.Popen( 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) os.remove(path)
return 1 return 1