Bumped dependencies.

This commit is contained in:
Patrick Lehmann
2024-07-24 06:56:22 +02:00
parent 92ce834303
commit 0fef6f8a4d
6 changed files with 17 additions and 12 deletions

View File

@@ -60,10 +60,10 @@ pygments_style = "manni"
# ==============================================================================
# Restructured Text settings
# ==============================================================================
prologPath = "prolog.inc"
prologPath = Path("prolog.inc")
try:
with open(prologPath, "r") as prologFile:
rst_prolog = prologFile.read()
with prologPath.open("r", encoding="utf-8") as fileHandle:
rst_prolog = fileHandle.read()
except Exception as ex:
print(f"[ERROR:] While reading '{prologPath}'.")
print(ex)