Try ERPNext Buy Support Partners Foundation

Missing 1 required positional argument on save_file()

Hey, i was creating a csv file and want to save it as frappe file with csv as it type. but when im call the function. its always get this error. either on dt,dn, or content

TypeError: save_file() missing 1 required positional argument: 'content'

my code for content is content inside my csv

content = csv.writer(csvfile)
and so i insert my fields and rows

the dt is Report, because im using my Script Reporting
and the dn, i set to none because its dont have a name.

i need help, thanks

Did you get any solution?