mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
Update prtester.py
This commit is contained in:
parent
4383e66234
commit
9c466f9896
2
.github/prtester.py
vendored
2
.github/prtester.py
vendored
@ -142,7 +142,7 @@ def testBridges(instance: Instance, bridge_cards: Iterable, with_upload: bool, w
|
||||
status = '✔️'
|
||||
if with_upload and (not with_reduced_upload or not status_is_ok):
|
||||
filename = f'{os.getcwd()}/{instance.name}_{form_number}.html'
|
||||
with open(file=filename, mode='w+', encoding='utf-8') as file:
|
||||
with open(file=filename, mode='wb', encoding='utf-8') as file:
|
||||
file.write(page_text)
|
||||
table_rows.append(f'| {bridge_name} | [{form_number} {context_name}{instance_suffix}]({tester_url}) | {status} |')
|
||||
form_number += 1
|
||||
|
Loading…
Reference in New Issue
Block a user