From b39e844c1e925779d145f81c928a11048d317e5c Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Tue, 12 Nov 2019 00:21:06 -0800 Subject: [PATCH] restreamer: Fix missing import of smart cut --- common/common/__init__.py | 2 +- restreamer/restreamer/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/common/__init__.py b/common/common/__init__.py index 9993aaf..c0cb4f3 100644 --- a/common/common/__init__.py +++ b/common/common/__init__.py @@ -14,7 +14,7 @@ import errno import os import random -from .segments import get_best_segments, rough_cut_segments, fast_cut_segments, full_cut_segments, parse_segment_path, SegmentInfo +from .segments import get_best_segments, rough_cut_segments, smart_cut_segments, fast_cut_segments, full_cut_segments, parse_segment_path, SegmentInfo from .stats import timed, PromLogCountsHandler, install_stacksampler diff --git a/restreamer/restreamer/main.py b/restreamer/restreamer/main.py index d80c44c..517858f 100644 --- a/restreamer/restreamer/main.py +++ b/restreamer/restreamer/main.py @@ -13,7 +13,7 @@ import prometheus_client as prom from flask import Flask, url_for, request, abort, Response from gevent.pywsgi import WSGIServer -from common import dateutil, get_best_segments, rough_cut_segments, fast_cut_segments, full_cut_segments, PromLogCountsHandler, install_stacksampler +from common import dateutil, get_best_segments, rough_cut_segments, smart_cut_segments, fast_cut_segments, full_cut_segments, PromLogCountsHandler, install_stacksampler from common.flask_stats import request_stats, after_request import generate_hls