Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit 9d797de

Browse files
'backup'
1 parent 2133220 commit 9d797de

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

domain/lom/scene/SceneName.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from protocol0.domain.shared.errors.Protocol0Error import Protocol0Error
1111
from protocol0.domain.shared.scheduler.Scheduler import Scheduler
1212
from protocol0.domain.shared.utils.utils import get_length_legend
13+
from protocol0.shared.Config import Config
1314
from protocol0.shared.SongFacade import SongFacade
1415
from protocol0.shared.logging.Logger import Logger
1516

@@ -59,7 +60,10 @@ def update(self, base_name=None, bar_position=None):
5960
self.disconnect()
6061
return
6162

62-
if not float(self._scene_length.length).is_integer() or self._scene_length.length > 1000:
63+
if (
64+
not float(self._scene_length.length).is_integer()
65+
or self._scene_length.length == Config.CLIP_MAX_LENGTH
66+
):
6367
length_legend = "" # we are recording
6468
else:
6569
length_legend = get_length_legend(

0 commit comments

Comments
 (0)