diff --git a/tethys_apps/templatetags/app_theme.py b/tethys_apps/templatetags/app_theme.py index 2300ab930..46ea1ac4c 100644 --- a/tethys_apps/templatetags/app_theme.py +++ b/tethys_apps/templatetags/app_theme.py @@ -24,7 +24,7 @@ def lighten(hex_color, percentage): ) # Extract the hex strings for the RGB components - rgb_hex = [hex_color[x:x + 2] for x in [1, 3, 5]] + rgb_hex = [hex_color[x : x + 2] for x in [1, 3, 5]] # Convert RGB hex strings to integer numbers rgb_int = [int(x, 16) for x in rgb_hex] diff --git a/tethys_layouts/views/map_layout.py b/tethys_layouts/views/map_layout.py index 3ed9d67b3..dc5c2c2e5 100644 --- a/tethys_layouts/views/map_layout.py +++ b/tethys_layouts/views/map_layout.py @@ -811,7 +811,7 @@ def convert_geojson_to_shapefile(self, request, *args, **kwargs): # pip pip install pyshp - + **Don't Forget**: If you end up using this method in your app, add `pyshp` as a requirement to your `install.yml`. Args: