Skip to content

Commit 802cd6c

Browse files
committed
fix: we can add host list too as consts
1 parent 0776f94 commit 802cd6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/Offline Checks.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@
147147
"\n",
148148
"def is_exportable_agol_tile_layer(basemaplayer) -> bool:\n",
149149
" lowercase_layer_url = basemaplayer[\"url\"].lower()\n",
150-
" host_list = [\"server.arcgisonline.com\", \"services.arcgisonline.com\"]\n",
150+
" HOST_LIST = [\"server.arcgisonline.com\", \"services.arcgisonline.com\"]\n",
151151
" has_allowed_host_name = any(\n",
152-
" host_str in lowercase_layer_url for host_str in host_list\n",
152+
" host_str in lowercase_layer_url for host_str in HOST_LIST\n",
153153
" )\n",
154154
" SERVICE_LIST = [\n",
155155
" \"natgeo_world_map\",\n",

0 commit comments

Comments
 (0)