From 671fd9a7154efa4398478b7d2a5673ee71cad32d Mon Sep 17 00:00:00 2001 From: "F. Duncanh" Date: Sat, 1 Nov 2025 17:24:48 -0400 Subject: [PATCH] dbus becaon cleanup --- Bluetooth_LE_beacon/dbus/uxplay-beacon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bluetooth_LE_beacon/dbus/uxplay-beacon.py b/Bluetooth_LE_beacon/dbus/uxplay-beacon.py index 939d303..603cad2 100644 --- a/Bluetooth_LE_beacon/dbus/uxplay-beacon.py +++ b/Bluetooth_LE_beacon/dbus/uxplay-beacon.py @@ -114,8 +114,8 @@ class AirPlayAdvertisement(AirPlay_Service_Discovery_Advertisement): assert port <= 65535 mfg_data = bytearray([0x09, 0x08, 0x13, 0x30]) # Apple Data Unit type 9 (Airplay), length 8, flags 0001 0011, seed 30 import ipaddress - ipv4_address = ipaddress.ip_address(ipv4_str); - ipv4 = bytearray(ipv4_address.packed); + ipv4_address = ipaddress.ip_address(ipv4_str) + ipv4 = bytearray(ipv4_address.packed) mfg_data.extend(ipv4) port_bytes = port.to_bytes(2, 'big') mfg_data.extend(port_bytes)