mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-17 21:25:37 +00:00
11 lines
309 B
Python
11 lines
309 B
Python
|
import os,sys; sys.path.append(os.path.abspath(os.path.join(os.path.abspath(os.path.join(os.path.dirname(__file__),'..')),'..')))
|
||
|
# from komrade import *
|
||
|
|
||
|
import sys
|
||
|
port = '8080' if len(sys.argv)<2 or not sys.argv[1].isdigit() else sys.argv[1]
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
from switchboard import run_forever
|
||
|
run_forever(port = port)
|