Update app.py
Browse files
app.py
CHANGED
|
@@ -64,6 +64,7 @@ def generate_certificate(name: str, output_path: str | os.PathLike[str] | None =
|
|
| 64 |
|
| 65 |
def _require_validation_record(github_username: str, pr_number: str) -> dict[str, Any]:
|
| 66 |
key = (_normalize_username(github_username), _normalize_pr(pr_number))
|
|
|
|
| 67 |
record = _VALIDATION_INDEX.get(key)
|
| 68 |
if record is None:
|
| 69 |
raise gr.Error(
|
|
|
|
| 64 |
|
| 65 |
def _require_validation_record(github_username: str, pr_number: str) -> dict[str, Any]:
|
| 66 |
key = (_normalize_username(github_username), _normalize_pr(pr_number))
|
| 67 |
+
print(f"{_VALIDATION_INDEX=}, {key=}")
|
| 68 |
record = _VALIDATION_INDEX.get(key)
|
| 69 |
if record is None:
|
| 70 |
raise gr.Error(
|