Skip to content

Commit

Permalink
add if __name__=='__main__' section for shits and giggles
Browse files Browse the repository at this point in the history
  • Loading branch information
Fynn Freyer committed Aug 28, 2022
1 parent b6cf90d commit ad22041
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/imgrep/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,6 @@ def main(argv=None):
print(line, end='\0' if null else '\n')

exit(0)

if __name__ == '__main__':
main()

0 comments on commit ad22041

Please sign in to comment.