Skip to content

Commit 21445e7

Browse files
committed
Fix git version check from #93 (bcab5ba)
1 parent 192137b commit 21445e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/configuration.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ DATABASE = {
4040
REDIS = {
4141
{# https://github.com/netbox-community/netbox/pull/4366 #}
4242
{% if netbox_stable and netbox_stable_version is version('2.7.11', '>=') or
43-
netbox_git and _netbox_git_contains_tasks_rename %}
43+
netbox_git and _netbox_git_contains_tasks_rename.rc == 0 %}
4444
'tasks': {
4545
{% else %}
4646
'webhooks': {

0 commit comments

Comments
 (0)