mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-28 12:36:42 +00:00
Removing more debug
This commit is contained in:
parent
f6ea1b41b3
commit
5bae7997c0
2 changed files with 1 additions and 2 deletions
|
|
@ -23,6 +23,7 @@ import mimetypes
|
|||
|
||||
from rest_framework.pagination import PageNumberPagination
|
||||
|
||||
|
||||
class OrInFilter(django_filters.Filter):
|
||||
"""
|
||||
Custom filter that handles the OR condition instead of AND.
|
||||
|
|
@ -254,7 +255,6 @@ class ChannelViewSet(viewsets.ModelViewSet):
|
|||
if not stream_id:
|
||||
return Response({"error": "Missing stream_id"}, status=status.HTTP_400_BAD_REQUEST)
|
||||
stream = get_object_or_404(Stream, pk=stream_id)
|
||||
logger.debug(f"Stream found: {stream.id}, Custom Properties: {stream.custom_properties}")
|
||||
channel_group = stream.channel_group
|
||||
|
||||
name = request.data.get('name')
|
||||
|
|
|
|||
|
|
@ -211,7 +211,6 @@ class ChannelManager(models.Manager):
|
|||
|
||||
class Channel(models.Model):
|
||||
channel_number = models.FloatField(db_index=True)
|
||||
logger.debug(f"Saving channel with channel_number: {channel_number}")
|
||||
name = models.CharField(max_length=255)
|
||||
logo = models.ForeignKey(
|
||||
'Logo',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue