You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> echo -e '1\t2' | filter -c1 odd
Traceback (most recent call last):
File "/home/jdhedden/bin/filter", line 6, in <module>
Filter().run()
File "/mnt/data/Computer/Linux/shell-functools/ft/ft/command.py", line 101, in run
self.handle_input(value)
File "/mnt/data/Computer/Linux/shell-functools/ft/ft/commands/filter.py", line 34, in handle_input
self.print_formatted(value)
File "/mnt/data/Computer/Linux/shell-functools/ft/ft/command.py", line 78, in print_formatted
formatted = ftformat(result)
File "/mnt/data/Computer/Linux/shell-functools/ft/ft/internal.py", line 17, in ftformat
return "\t".join(map(ftformat, val.value))
TypeError: sequence item 0: expected str instance, int found
Thank you for reporting this. Note that I'm not using this project myself anymore, so I'm not really actively maintaining it. Happy to integrate a bugfix PR with tests though.
Offered fix:
Result:
The text was updated successfully, but these errors were encountered: