This commit is contained in:
bashrc committed 2021-02-15 12:51:49 +00:00
1 parent a85767ad58
commit 7e4eaab3cb
1 file changed
+1 -1
+1 -1
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