minor min
This commit is contained in:
parent
9ec77ede6f
commit
69d477eeb1
@ -6,7 +6,6 @@ SECRET_KEY=ANY_SECRET_KEY_HERE
|
||||
PORT=5000
|
||||
BIND=0.0.0.0
|
||||
|
||||
|
||||
# HTTP External Storage Server
|
||||
PORT_HTTP_EXTERNAL_STORAGE=5001
|
||||
BIND_HTTP_EXTERNAL_STORAGE=0.0.0.0
|
||||
|
||||
@ -13,7 +13,7 @@ class Slide:
|
||||
self._id = id if id else None
|
||||
self._playlist_id = playlist_id
|
||||
self._content_id = content_id
|
||||
self._duration = duration if duration >= 0 else 0
|
||||
self._duration = duration if isinstance(duration, int) and duration >= 0 else 0
|
||||
self._delegate_duration = delegate_duration
|
||||
self._enabled = enabled
|
||||
self._is_notification = is_notification
|
||||
|
||||
Loading…
Reference in New Issue
Block a user