Update prtester.py

This commit is contained in:
Bocki 2024-10-14 11:54:09 +02:00 committed by GitHub
parent b621ffeecc
commit 66503e98ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
.github/prtester.py vendored
View File

@ -40,7 +40,7 @@ def main(instances: Iterable[Instance], with_upload: bool, with_reduced_upload:
def testBridges(instance: Instance, bridge_cards: Iterable, with_upload: bool, with_reduced_upload: bool) -> Iterable: def testBridges(instance: Instance, bridge_cards: Iterable, with_upload: bool, with_reduced_upload: bool) -> Iterable:
instance_suffix = '' instance_suffix = ''
prid = os.environ.get["PR"] prid = os.getenv("PR")
tester_url = f'https://bockiii.github.io/prs/{prid}/' tester_url = f'https://bockiii.github.io/prs/{prid}/'
if instance.name: if instance.name:
instance_suffix = f' ({instance.name})' instance_suffix = f' ({instance.name})'