Remove extra paren

Syntax error from c2fc139
This commit is contained in:
Mark Walker 2016-07-04 11:50:52 -07:00
parent c2fc139b97
commit d767d19ffb

View file

@ -88,7 +88,7 @@ def index():
_logger.exception("Error retrieving additional data for preemptive cache from plugin {}".format(key))
def unless():
disabled_for_root = request.url_root in settings().get(["server", "preemptiveCache", "exceptions"]) or not (request.url_root.startswith("http://") or request.url_root.startswith("https://")))
disabled_for_root = request.url_root in settings().get(["server", "preemptiveCache", "exceptions"]) or not (request.url_root.startswith("http://") or request.url_root.startswith("https://"))
if callable(additional_unless):
return disabled_for_root or additional_unless()
else: