summaryrefslogtreecommitdiff
diff options
-rwxr-xr-xbin/pulse-active-port-change1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pulse-active-port-change b/bin/pulse-active-port-change
index 06324442..f2d95277 100755
--- a/bin/pulse-active-port-change
+++ b/bin/pulse-active-port-change
@@ -72,6 +72,7 @@ class AudioPlugDetection:
cfg = set()
for record in doc.record_list:
active_port = None
+ port_availability = None
# We go through the attribute list once to try to find an active port
for attr in record.attribute_list:
if attr.name == "Active Port":