Update main.py

Removes extra line breaks when displaying results. Note that this does not remove the line breaks when there is an empty result
Updated main.py to reflect comment made on pull request

Per @uberj "The new line you are using to join is required. Just add the strip()."
Merge branch 'patch-1' of github.com:limed/inv-tool into limed-patch-1