ram-jayapalan/filesplit

Exception '<' not supported between instances of 'str' and 'int'

forthcomadmin opened this issue · 2 comments

When running as:

fs = Filesplit()
fs.split(file=in_file, split_size=args.split_size, output_dir=args.destination, newline=True, include_header=True)

this exception is thrown. Is this a known issue? Is it related to file contents?

Please check the datatype of the size value you are passing. Looks like you are passing as string instead of integer.