Skip to content

Commit

Permalink
bob: make safely importable
Browse files Browse the repository at this point in the history
  • Loading branch information
jkloetzke committed Nov 10, 2018
1 parent 01ec002 commit 2b03d10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bob
Expand Up @@ -9,4 +9,5 @@ sys.path.insert(0, pym_path)

from bob.scripts import bob

sys.exit(bob(scr_path))
if __name__ == '__main__':
sys.exit(bob(scr_path))

0 comments on commit 2b03d10

Please sign in to comment.