Skip to content

Commit

Permalink
[KWizard] Save the allow_resampling keyword as string. Fixes #2068.
Browse files Browse the repository at this point in the history
  • Loading branch information
borysiasty committed Jun 27, 2015
1 parent 8796718 commit b0b3606
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion safe/gui/tools/wizard_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -4407,7 +4407,8 @@ def get_keywords(self):
key = exposure_unit['key']
keywords[key] = self.selected_unit()['key']
if self.selected_allowresampling() is not None:
keywords['allow_resampling'] = self.selected_allowresampling()
keywords['allow_resampling'] = (
self.selected_allowresampling() and 'true' or 'false')
if self.lstFields.currentItem():
field_keyword = self.field_keyword_for_the_layer()
keywords[field_keyword] = self.lstFields.currentItem().text()
Expand Down

0 comments on commit b0b3606

Please sign in to comment.