Skip to content

Commit

Permalink
fix converter option parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed Oct 18, 2024
1 parent a49e4d3 commit 293c1b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion geospaas_processing/converters/syntool/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@ def parse_converter_options(self, kwargs):
"""
converter_options = self.converter_options.copy()
converter_options_list = []
converter_options.update(kwargs.pop('converter_options', {}))
kwargs_converter_options = kwargs.pop('converter_options')
if not kwargs_converter_options:
kwargs_converter_options = {}
converter_options.update(kwargs_converter_options)
if converter_options:
converter_options_list.append('-opt')
for key, value in converter_options.items():
Expand Down

0 comments on commit 293c1b5

Please sign in to comment.