mirror of
https://github.com/frej/fast-export.git
synced 2025-11-02 09:15:48 +01:00
12 lines
300 B
Python
12 lines
300 B
Python
def build_filter(args):
|
|
return Filter(args)
|
|
|
|
class Filter():
|
|
def __init__(self, args):
|
|
pass
|
|
|
|
def file_data_filter(self,file_data):
|
|
file_ctx = file_data['file_ctx']
|
|
if not file_ctx.isbinary():
|
|
file_data['data'] = file_data['data'].replace('\r\n', '\n')
|