Skip to content

Commit

Permalink
Merge pull request #2370 from francbartoli/bug_layer_remote_source
Browse files Browse the repository at this point in the history
Fix remote source issue #2368
  • Loading branch information
simod committed Nov 29, 2015
2 parents b6faba2 + 95f6a6c commit eb04e03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions geonode/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,9 @@ def _base_source(source):
'ptype': 'gxp_wmscsource',
'name': service.name
}
index += 1
sources[index] = remote_source
if remote_source['url'] not in source_urls:
index += 1
sources[index] = remote_source

config = {
'id': self.id,
Expand Down

0 comments on commit eb04e03

Please sign in to comment.