mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 17:16:26 +00:00
refactor(epg): remove redundant current time retrieval in CurrentProgramsAPIView
This commit is contained in:
parent
7c0c513f8f
commit
690fa10be4
1 changed files with 0 additions and 3 deletions
|
|
@ -834,9 +834,6 @@ class CurrentProgramsAPIView(APIView):
|
|||
# Get channels with EPG data
|
||||
channels = query.select_related('epg_data')
|
||||
|
||||
# Get current time
|
||||
now = timezone.now()
|
||||
|
||||
# Build list of current programs
|
||||
current_programs = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue