diff --git a/frontends/ycdl_flask/backend/endpoints/channel_endpoints.py b/frontends/ycdl_flask/backend/endpoints/channel_endpoints.py index 7be1515..88f6d6c 100644 --- a/frontends/ycdl_flask/backend/endpoints/channel_endpoints.py +++ b/frontends/ycdl_flask/backend/endpoints/channel_endpoints.py @@ -64,7 +64,7 @@ def _render_videos_listing(videos, channel, state, orderby): @site.route('/channel//') def get_channel(channel_id, state=None): try: - channel = common.ycdldb.add_channel(channel_id) + channel = common.ycdldb.add_channel(channel_id, commit=True) except ycdl.ytapi.ChannelNotFound: flask.abort(404)