Closed Gandi24 closed 9 years ago
There is not possibility to provide empty list of exceptions search.
The default one is: user_agents_exception_search = u"(?:%s)" % u'|'.join(( 'ipad', ))
Providing: user_agents_exception_search = u"(?:%s)" % u'|'.join(( )) crushes the detection.
Hi, as a work around you can set:
user_agents_exception_search = "(?!)"
That sets the search term to a regular expression that will never match anything.
There is not possibility to provide empty list of exceptions search.
The default one is: user_agents_exception_search = u"(?:%s)" % u'|'.join(( 'ipad', ))
Providing: user_agents_exception_search = u"(?:%s)" % u'|'.join(( )) crushes the detection.