Skip to content

Commit

Permalink
[Fixes #148] sld file is not handled during the overwrite flow
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi committed Nov 23, 2022
1 parent d20d127 commit 9872435
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions importer/handlers/common/raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ def overwrite_geonode_resource(
dataset.refresh_from_db()

self.handle_xml_file(dataset, _exec)
self.handle_sld_file(dataset, _exec)

resource_manager.set_thumbnail(self.object.uuid, instance=self.object, overwrite=False)
dataset.refresh_from_db()
Expand Down

0 comments on commit 9872435

Please sign in to comment.