bugfix
This commit is contained in:
parent
ae4c8721b6
commit
1fd4697cfd
@ -1,4 +1,5 @@
|
||||
import os
|
||||
from io import StringIO, BytesIO
|
||||
import sys
|
||||
import argparse
|
||||
# from dataui.bricks_parser import BricksCRUDProcessor
|
||||
@ -49,4 +50,7 @@ if __name__ == '__main__':
|
||||
logger.debug(f'debug mode show ?')
|
||||
port = args.port or config.website.port or 8080
|
||||
port = int(port)
|
||||
g = ServerEnv()
|
||||
g.StringIO = StringIO
|
||||
g.BytesIO = BytesIO
|
||||
server.run(port=port)
|
||||
|
Loading…
Reference in New Issue
Block a user