Skip to content

Commit 581853a

Browse files
committed
fix six usage
1 parent 6a86395 commit 581853a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leaflet/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878

7979
DEFAULT_PRECISION = app_settings['DEFAULT_PRECISION']
80-
if DEFAULT_PRECISION is not None and not (isinstance(DEFAULT_PRECISION, six.integer_types) and (4 <= DEFAULT_PRECISION <= 12)):
80+
if DEFAULT_PRECISION is not None and not (isinstance(DEFAULT_PRECISION, int) and (4 <= DEFAULT_PRECISION <= 12)):
8181
raise ImproperlyConfigured("LEAFLET_CONFIG['DEFAULT_PRECISION'] must be an int between 4 and 12.")
8282

8383

0 commit comments

Comments
 (0)