mirror of http://git.k-space.ee/arti/doors.git
10 lines
202 B
Python
10 lines
202 B
Python
|
import sys
|
||
|
from . import application
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
if len(sys.argv) > 1:
|
||
|
port = int(sys.argv[1])
|
||
|
else:
|
||
|
port = 8080
|
||
|
application.run(host='127.0.0.1', port=port)
|