Skip to content

Commit 9afe5fa

Browse files
author
Anton Eriksson
committed
fix(python): no_self_links was always set unless include_self_links=True
1 parent 73a8f68 commit 9afe5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interfaces/python/infomap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def _construct_args(
118118
DeprecationWarning,
119119
)
120120

121-
if not include_self_links:
121+
if include_self_links is not None and not include_self_links:
122122
args += " --no-self-links"
123123

124124
if no_self_links:

0 commit comments

Comments
 (0)