diff --git a/kycnot.py b/kycnot.py index 2758381..5f7eab5 100755 --- a/kycnot.py +++ b/kycnot.py @@ -93,7 +93,12 @@ async def service(request, name=None): data = yaml.load(services) for service in data['services']: if service['name'].replace(' ', '').lower() == name: - tpinfo = await get_trustpilot_info(service) + try: + tpinfo = await get_trustpilot_info(service) + except: + tpinfo = { + "score": False + } template = env.get_template('service.html') return html(template.render(date=date, service=service, tpinfo=tpinfo)) return(f"{name} does not exist") diff --git a/templates/about.html b/templates/about.html index 7e8d021..de0729b 100644 --- a/templates/about.html +++ b/templates/about.html @@ -248,7 +248,7 @@
- Donate Bitcoin + Donate Bitcoin
+ +
Donate Nano