We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd910b4 commit ac925dbCopy full SHA for ac925db
1 file changed
folium/__init__.py
@@ -49,7 +49,7 @@
49
__version__ = "unknown"
50
51
52
-if tuple(int(x) for x in branca.__version__.split('.')[:2]) < (0, 3):
+if branca.__version__ != 'unknown' and tuple(int(x) for x in branca.__version__.split('.')[:2]) < (0, 3):
53
raise ImportError('branca version 0.3.0 or higher is required. '
54
'Update branca with e.g. `pip install branca --upgrade`.')
55
0 commit comments