Explorar el Código

remove test print call in code 😢

wangweimin hace 4 años
padre
commit
d13213508b
Se han modificado 2 ficheros con 2 adiciones y 4 borrados
  1. 2 2
      pywebio/__version__.py
  2. 0 2
      webiojs/src/session.ts

+ 2 - 2
pywebio/__version__.py

@@ -1,8 +1,8 @@
 __package__ = 'pywebio'
 __description__ = 'Write interactive web app in script way.'
 __url__ = 'https://pywebio.readthedocs.io'
-__version__ = "1.2.0"
-__version_info__ = (1, 2, 0, 0)
+__version__ = "1.2.1"
+__version_info__ = (1, 2, 1, 0)
 __author__ = 'WangWeimin'
 __author_email__ = 'wang0.618@qq.com'
 __license__ = 'MIT'

+ 0 - 2
webiojs/src/session.ts

@@ -90,8 +90,6 @@ export class WebSocketSession implements Session {
         this.ws.onopen = this._on_session_create;
 
         this.ws.onclose = function (evt) {
-            $('#markdown-body').append('Session closed at '+new Date() + '<br/>');  // todo
-
             that._on_session_close.apply(that, evt);
             if (!that._closed && that.webio_session_id != 'NEW') {  // not receive `close_session` command && enabled reconnection
                 const session_create_interval = 5000;