changeset 12023:f79df0b509c8 draft

<b_jonas> fetch bin/whatis https://hack.esolangs.org/get/bin/whatis
author HackEso <hackeso@esolangs.org>
date Thu, 14 Nov 2019 23:42:08 +0000
parents dff0129e4a40
children 4991b46f974f
files bin/whatis
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/whatis	Thu Nov 14 23:41:32 2019 +0000
+++ b/bin/whatis	Thu Nov 14 23:42:08 2019 +0000
@@ -11,7 +11,7 @@
         argorg.append(arg)
         argfoldv.append(arg.casefold())
         foundv.append(False)
-    with open(os.environ.get("HACKENV","/hackenv") + /share/whatis", errors="surrogateescape") as whatisdb:
+    with open(os.environ.get("HACKENV","/hackenv") + "/share/whatis", errors="surrogateescape") as whatisdb:
         for line in whatisdb:
             parts = re.match(r"([^()]+)\(([0-9A-Z_a-z]+)\)", line)
             if parts: