Kaydet (Commit) 24f99676 authored tarafından Baptiste Mispelon's avatar Baptiste Mispelon

Fixed regression introduced by 20472aa8.

The wrong exception was being caught when detecting the presence of GeoIP.
Thanks to ramiro for the report.
üst a971d19b
......@@ -14,5 +14,5 @@
try:
from .base import GeoIP, GeoIPException
HAS_GEOIP = True
except ImportError:
except RuntimeError: # libgeoip.py raises a RuntimeError if no GeoIP library is found
HAS_GEOIP = False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment