Skip to content

Commit e5584ec

Browse files
committed
Add a launcher to contentctl.py to allow easier debugging and launching with python -m contentctl.contentctl
1 parent ea9f56d commit e5584ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

contentctl/contentctl.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,4 +229,7 @@ def main():
229229
print(e)
230230

231231
sys.exit(1)
232-
232+
233+
234+
if __name__ == "__main__":
235+
main()

0 commit comments

Comments
 (0)