summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolderpunk <solderpunk@sdf.org>2020-08-31 21:17:06 +0200
committerSolderpunk <solderpunk@sdf.org>2020-08-31 21:17:06 +0200
commit4e8f3dcd058d2c82f6aae43c8161ec3126d552e8 (patch)
treec198ce77de163c7dcf7d36f4f24b80c40149c1c6
parent08c60e202b93b69e04b2932ac94ae55dfb6096d2 (diff)
Fix variable name bug introduced by hasty hacking of cache system.
-rwxr-xr-xav98.py2
1 files changed, 1 insertions, 1 deletions
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.")