This commit is contained in:
Kovid Goyal 2021-07-04 18:05:54 +05:30
parent e732df46b8
commit 3dee3aba59
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -20,7 +20,10 @@
def resolved_kitten(k: str) -> str:
return aliases.get(k, k).replace('-', '_')
ans = aliases.get(k, k)
head, tail = os.path.split(ans)
tail = tail.replace('-', '_')
return os.path.join(head, tail)
def path_to_custom_kitten(config_dir: str, kitten: str) -> str: