fix error message if clan flake does not exist

This commit is contained in:
Jörg Thalheim 2023-11-09 16:38:17 +01:00
parent c194adc181
commit 0206210b7e

View File

@ -78,7 +78,7 @@ def clan_flakes_dir() -> Path:
def specific_flake_dir(flake_name: FlakeName) -> Path:
flake_dir = clan_flakes_dir() / flake_name
if not flake_dir.exists():
raise ClanError(f"Flake '{flake_name}' does not exist in {flake_dir}")
raise ClanError(f"Flake '{flake_name}' does not exist in {clan_flakes_dir()}")
return flake_dir