stanley-king 2 роки тому
батько
коміт
1ab519e7dc
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      plot/app.py

+ 3 - 0
plot/app.py

@@ -48,7 +48,10 @@ def ch_ratio():
         spec = request.args.get('spec') or None
         if spec is not None:
             spec = int(spec.strip())
+
+        logger.debug('ChannelPainter 1')
         painter = ChannelPainter(start_time=start_time, end_time=end_time, chnames=chnames, card_types=card_types, spec=spec)
+        logger.debug('ChannelPainter 2')
         buf = painter.paint()
 
         data = base64.b64encode(buf.getbuffer()).decode("ascii")