diff --git a/src/compwa_policy/check_dev_files/release_drafter.py b/src/compwa_policy/check_dev_files/release_drafter.py index 35aebf38..4a44a285 100644 --- a/src/compwa_policy/check_dev_files/release_drafter.py +++ b/src/compwa_policy/check_dev_files/release_drafter.py @@ -43,7 +43,7 @@ def _get_expected_config( config[key] = config[key].replace("<>", repo_title) key = "template" lines = config[key].split("\n") - if not os.path.exists(CONFIG_PATH.readthedocs) or github_pages: + if not os.path.exists(CONFIG_PATH.readthedocs): lines = lines[2:] config[key] = ( "\n".join(lines)