Skip to content

Commit 60b238e

Browse files
Merge pull request #168 from fosslight/dev_default_fileExt_bug
Fix default file extension bug
2 parents 4fa3038 + 8f8a3c0 commit 60b238e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/fosslight_util/output_format.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ def check_output_formats(output='', formats=[], customized_format={}):
9999
output_files = [basename_file for _ in range(len(output_extensions))]
100100
else:
101101
output_path = output
102+
if not output_extensions:
103+
output_extensions = ['.xlsx']
102104

103105
return success, msg, output_path, output_files, output_extensions
104106

0 commit comments

Comments
 (0)