From 4e8f3dcd058d2c82f6aae43c8161ec3126d552e8 Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Mon, 31 Aug 2020 21:17:06 +0200 Subject: [PATCH] Fix variable name bug introduced by hasty hacking of cache system. --- av98.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/av98.py b/av98.py index 3176d31..aafb0b1 100755 --- a/av98.py +++ b/av98.py @@ -361,7 +361,7 @@ you'll be able to transparently follow links to Gopherspace!""") else: cmd_str = self._get_handler_cmd(mime) try: - subprocess.call(shlex.split(cmd_str % tmpf.name)) + subprocess.call(shlex.split(cmd_str % tmpfile)) except FileNotFoundError: print("Handler program %s not found!" % shlex.split(cmd_str)[0]) print("You can use the ! command to specify another handler program or pipeline.")