Skip to content

Commit

Permalink
Protect main.py code inside if __name__
Browse files Browse the repository at this point in the history
  • Loading branch information
tlecomte committed Aug 28, 2015
1 parent 7767691 commit 6e3a3b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@

from friture.analyzer import main

main()
if __name__ == '__main__':
main()

0 comments on commit 6e3a3b8

Please sign in to comment.