mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-07 16:36:53 +08:00
This commit is contained in:
@@ -64,6 +64,8 @@ class MessageQueueManager(metaclass=SingletonClass):
|
|||||||
for period in periods:
|
for period in periods:
|
||||||
if not period:
|
if not period:
|
||||||
continue
|
continue
|
||||||
|
if not period.get('start') or not period.get('end'):
|
||||||
|
continue
|
||||||
start_h, start_m = map(int, period['start'].split(':'))
|
start_h, start_m = map(int, period['start'].split(':'))
|
||||||
end_h, end_m = map(int, period['end'].split(':'))
|
end_h, end_m = map(int, period['end'].split(':'))
|
||||||
parsed.append((start_h, start_m, end_h, end_m))
|
parsed.append((start_h, start_m, end_h, end_m))
|
||||||
|
|||||||
Reference in New Issue
Block a user