diff --git a/pygitweb/main.py b/pygitweb/main.py
index 99343c5..87121d7 100644
--- a/pygitweb/main.py
+++ b/pygitweb/main.py
@@ -76,11 +76,14 @@ from pygitweb.validation import (
 	is_valid_ref_format,
 )
 
+with open("pygitweb/README.md", encoding="utf-8") as _readme_file:
+	_app_description = _readme_file.read()
+
 app = FastAPI(
 	debug=(DISTGIT_AUTH == "None"),
 	title="PyGitWeb",
 	summary="FastAPI + Pygit2 Repo Browser",
-	description=open("pygitweb/README.md", encoding="utf-8").read(),
+	description=_app_description,
 	version=__meta__.__version__,
 )
 
