Code review comment for lp:~therp-nl/ocb-web/7.0_lp1340813

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

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.

review: Needs Information (code review)

« Back to merge proposal