version: catch correct error

This commit is contained in:
2 * r + 2 * t
2025-09-14 20:45:57 +10:00
parent 62e7911864
commit e560a6e3d2
+1 -1
View File
@@ -36,7 +36,7 @@ def print_version() -> None:
shell_ver = subprocess.check_output(["/usr/lib/caelestia/version", "-s"], text=True).strip()
print("Shell:")
print(" ", shell_ver)
except subprocess.CalledProcessError:
except FileNotFoundError:
print("Shell: version helper not available")
print()