Skip to content

Commit 953de5f

Browse files
committed
fix for not having a sequence config
1 parent d0f53fe commit 953de5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

appdaemon/app_management.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,8 @@ async def safe_import(self: "AppManagement"):
10391039
await safe_import(self)
10401040

10411041
async def _init_sequences(self):
1042-
await self.AD.sequences.add_sequences(self.sequence_config)
1042+
if self.sequence_config is not None:
1043+
await self.AD.sequences.add_sequences(self.sequence_config)
10431044

10441045
def apps_per_module(self, module_name: str) -> Set[str]:
10451046
"""Finds which apps came from a given module name.

0 commit comments

Comments
 (0)