Skip to content

Commit 1e2f067

Browse files
author
Nolan Woods
committed
Add if name==main block
1 parent a19dcdf commit 1e2f067

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

biopython_convert/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
def main():
77
convert(*get_args(sys.argv[1:]))
88

9-
main()
9+
if __name__ == "__main__":
10+
main()

0 commit comments

Comments
 (0)