Skip to content

Commit 76f41ea

Browse files
Fixes #299: Avoid exception due to invalid content type when provisioning branch (#300)
1 parent f52d415 commit 76f41ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

netbox_branching/utilities.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def get_tables_to_replicate():
135135

136136
branch_aware_models = [
137137
ot.model_class() for ot in get_branchable_object_types()
138+
if ot.model_class() is not None
138139
]
139140
for model in branch_aware_models:
140141

0 commit comments

Comments
 (0)