main
Bob Mottram 2021-02-15 12:51:49 +00:00
parent a85767ad58
commit 7e4eaab3cb
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ class PubServer(BaseHTTPRequestHandler):
return False
if self.headers['Accept'].startswith('*'):
if self.headers.get('User-Agent'):
if 'Elinks' in self.headers['User-Agent'] or \
if 'ELinks' in self.headers['User-Agent'] or \
'Lynx' in self.headers['User-Agent']:
return True
return False