Skip to content
Snippets Groups Projects
Commit 29c22ed3 authored by alexey.stratulat's avatar alexey.stratulat
Browse files

[*] Fixed configuration of JSON string and dynamic library import string.

parent 1bfdacb0
No related branches found
No related tags found
1 merge request!10Support 3130
from CellFrame import * from CellFrame.libCellFrame import *
import os import os
app_name = "MyChains" app_name = "MyChains"
...@@ -21,7 +21,7 @@ json_string = """{ ...@@ -21,7 +21,7 @@ json_string = """{
"ServerCore" : { "ServerCore" : {
"thread_cnt": 0, "thread_cnt": 0,
"conn": 0 "conn": 0
} },
"Configuration" : { "Configuration" : {
"general": { "general": {
"debug_mode": false, "debug_mode": false,
...@@ -72,7 +72,7 @@ json_string = """{ ...@@ -72,7 +72,7 @@ json_string = """{
} }
} }
} }
}, }
}""" }"""
init(json_string) init(json_string)
...@@ -89,7 +89,7 @@ StreamCtl.addProcHttp(sr, "/stream_ctl") ...@@ -89,7 +89,7 @@ StreamCtl.addProcHttp(sr, "/stream_ctl")
ev = Events() ev = Events()
ev.start() ev.start()
logItNotice(app_name+" v0.1 runned on port "+server_port) logItNotice(app_name+" v0.1 runned on port "+str(server_port))
rc = ServerCore.loop(sr) rc = ServerCore.loop(sr)
deinit() deinit()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment