@@ -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")