I think that the name would have an initial dot if there is no _recname, leading to incorrect file names or hidden files. Can it be?
I suggest to put:
if file_name: file_name = '%s.%s' % (file_name, report_struct['format']) else: file_name = report_struct['format']
Regards.
« Back to merge proposal
I think that the name would have an initial dot if there is no _recname, leading to incorrect file names or hidden files. Can it be?
I suggest to put:
if file_name: struct[ 'format' ]) struct[ 'format' ]
file_name = '%s.%s' % (file_name, report_
else:
file_name = report_
Regards.