Commit f3057f9a authored by Phil Jones's avatar Phil Jones

Fix PyKat not finding kat executable on Windows.

parent 43725ae5
......@@ -2022,7 +2022,7 @@ class kat(object):
if self.__finesse_dir is None or len(self.__finesse_dir.strip())==0:
raise pkex.MissingFinesseEnvVar()
elif find_executable('kat') is not None:
self.__finesse_dir = find_executable('kat').rstrip("kat")
self.__finesse_dir = os.path.dirname(find_executable('kat'))
raise pkex.MissingFinesse()
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment