webhook: Fix running with no proxies
Compare changes
+ 8
− 7
@@ -49,13 +49,14 @@ from flask_dance.consumer import oauth_authorized
The fix to the proxy fix did break running with no proxies as ProxyFix doesn't like being passed 0 as the number of proxies.
For this reason the unit tests were also broken. Sigh.