summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/firewall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/firewall.py b/src/op_mode/firewall.py
index 3f8ba6fa1..15fbb65a2 100755
--- a/src/op_mode/firewall.py
+++ b/src/op_mode/firewall.py
@@ -531,7 +531,7 @@ def show_firewall_group(name=None):
continue
for idx, member in enumerate(members):
- if type(member) == str:
+ if isinstance(member, str):
# Only member, and no timeout:
val = member
timeout = "N/D"