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