Switch to unified view

a/web/scweb-standalone.py b/web/scweb-standalone.py
...
...
4
import scweb
4
import scweb
5
5
6
# handle command-line arguments
6
# handle command-line arguments
7
parser = argparse.ArgumentParser()
7
parser = argparse.ArgumentParser()
8
parser.add_argument('-a', '--addr', default='127.0.0.1',help='address to bind to [127.0.0.1]')
8
parser.add_argument('-a', '--addr', default='127.0.0.1',help='address to bind to [127.0.0.1]')
9
parser.add_argument('-p', '--port', default='8780', type=int, help='port to listen on [8780]')
9
parser.add_argument('-p', '--port', default='8680', type=int, help='port to listen on [8780]')
10
args = parser.parse_args()
10
args = parser.parse_args()
11
11
12
# change to webui's directory and import
12
# change to webui's directory and import
13
os.chdir(os.path.dirname(__file__))
13
os.chdir(os.path.dirname(__file__))
14
14