Skip to content

Commit e090994

Browse files
committed
Fix a mypy complaint
1 parent 410f389 commit e090994

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

netsim/cli/show/modules.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ def show_feature_table(
138138
print("Feature legend:")
139139
if not features:
140140
features = settings[m].features
141+
if not features:
142+
return
143+
141144
for f in heading[1:]:
142145
print(f"* {f}: {features[f]}")
143146

0 commit comments

Comments
 (0)