Fixed doubled output
Merge pull request #2 from karolsojko/fix_double_output

Fixed doubled output