Browse Source

xmltv: fix sorted order

main
Brett Langdon 2 years ago
parent
commit
a13303645b
No known key found for this signature in database GPG Key ID: 9BAD4322A65AD78B
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/dlhdhr/epg/zap2it.py
  2. +1
    -1
      src/dlhdhr/epg/zaptv.py

+ 1
- 1
src/dlhdhr/epg/zap2it.py View File

@ -106,7 +106,7 @@ class Zap2it:
)
)
listings[call_sign] = sorted(programs, key=lambda p: p.start_time, reverse=True)
listings[call_sign] = sorted(programs, key=lambda p: p.start_time)
return listings


+ 1
- 1
src/dlhdhr/epg/zaptv.py View File

@ -96,7 +96,7 @@ class ZapTV:
)
)
listings[code] = sorted(programs, key=lambda p: p.start_time, reverse=True)
listings[code] = sorted(programs, key=lambda p: p.start_time)
return listings


Loading…
Cancel
Save