From 29c22ed3035b47110d2347a6e18aa201d91e5d5a Mon Sep 17 00:00:00 2001
From: "alexey.stratulat" <alexey.stratulat@demlabs.net>
Date: Sat, 22 Feb 2020 21:23:33 +0700
Subject: [PATCH] [*] Fixed configuration of JSON string and dynamic library
 import string.

---
 dists/examples/0.Beginning/MyChains.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dists/examples/0.Beginning/MyChains.py b/dists/examples/0.Beginning/MyChains.py
index ad9b4d1d..168c9ef0 100644
--- a/dists/examples/0.Beginning/MyChains.py
+++ b/dists/examples/0.Beginning/MyChains.py
@@ -1,4 +1,4 @@
-from CellFrame import *
+from CellFrame.libCellFrame import *
 import os
 
 app_name = "MyChains"
@@ -21,7 +21,7 @@ json_string = """{
      "ServerCore" : {
         "thread_cnt": 0,
         "conn": 0
-     }
+     },
     "Configuration" : {
         "general": {
             "debug_mode": false,
@@ -72,7 +72,7 @@ json_string = """{
                 }
             }
         }
-    },
+    }
     }"""
 
 init(json_string)
@@ -89,7 +89,7 @@ StreamCtl.addProcHttp(sr, "/stream_ctl")
 ev = Events()
 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)
 
-deinit()
\ No newline at end of file
+deinit()
-- 
GitLab