Skip to content

Commit 279ea28

Browse files
authored
Update um_fields_subset.py
Fix the filename
1 parent aefba59 commit 279ea28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/um_fields_subset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def initialize_output_file(ff):
108108
file_copy.fields = []
109109
return file_copy
110110

111-
def create_default_outname(f, suffix="_subset"):
111+
def create_default_outname(filename, suffix="_subset"):
112112
"""
113113
Create a default output filename by appending a suffix to the input filename.
114114
If an output filename already exists, a number will be appended to produce a unique output filename.

0 commit comments

Comments
 (0)