Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lars Kruse
aura-engine
Commits
8c25b496
Commit
8c25b496
authored
Jun 12, 2020
by
David Trattnig
Browse files
Change order of show and schedule fallback.
parent
1b81d66d
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/scheduling/fallback_manager.py
View file @
8c25b496
...
...
@@ -100,8 +100,8 @@ class FallbackManager:
self
.
logger
.
info
(
"Resolving playlist for schedule #%s ..."
%
schedule
.
schedule_id
)
if
not
self
.
validate_playlist
(
schedule
,
"playlist"
):
if
not
self
.
validate_playlist
(
schedule
,
"s
how
_fallback"
):
if
not
self
.
validate_playlist
(
schedule
,
"s
chedule
_fallback"
):
if
not
self
.
validate_playlist
(
schedule
,
"s
chedule
_fallback"
):
if
not
self
.
validate_playlist
(
schedule
,
"s
how
_fallback"
):
if
not
self
.
validate_playlist
(
schedule
,
"station_fallback"
):
raise
Exception
(
"No (fallback) playlists for schedule #%s available - not even a single one!"
%
schedule
.
schedule_id
)
else
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment