Skip to content

Commit d10214d

Browse files
committed
add $UNIQUE_ID to hotspot_ssid
1 parent 03aaaac commit d10214d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/config.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@
2929
with open("/proc/cpuinfo") as f:
3030
for line in f:
3131
if "Serial" in line:
32-
serial = line.replace(" ","").split(":")[1]
33-
hotspot_ssid.replace("$UNIQUE_ID", serial[-5:-1])
32+
serial = line.replace(" ", "").split(":")[1]
33+
hotspot_ssid.replace(
34+
"$UNIQUE_ID",
35+
serial[-5:-1]
36+
)
3437

3538
hotspot_ssid.replace("$UNIQUE_ID", )
3639
# Set default hotspot password.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy