Commits

Ned Batchelder committed be9be1e

You can specify a port on the command line.

Comments (0)

Files changed (1)

Tabblo_Lifeboat.py

         os.makedirs(tabblo_dir)
     os.chdir(tabblo_dir)
 
-main('localhost', 10025)
+try:
+    port = int(sys.argv[-1])
+except:
+    port = 10025
+main('localhost', port)