Skip to content

Commit b5d27d7

Browse files
author
Clement Champetier
committed
sam do --file-formats: do not print the same extension several times
Fix #482
1 parent f84ce30 commit b5d27d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applications/sam/sam_do.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def getListOfSupportedExtension(ofxhImageEffectNodeDescriptor):
205205
self._displayTitle('SUPPORTED INPUT FILE FORMATS')
206206
elif key == 'w':
207207
self._displayTitle('SUPPORTED OUTPUT FILE FORMATS')
208-
puts(', '.join(sorted(extensions)))
208+
puts(', '.join(sorted(set(extensions))))
209209

210210
def _displayParamHelp(self, param):
211211
"""

0 commit comments

Comments
 (0)