mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-06 03:58:02 +08:00
Omit http:// from URLs to save space in QR code.
This commit is contained in:
parent
5f6b3f3cab
commit
434599416e
@ -30,7 +30,7 @@ if not os.path.exists(directory):
|
||||
|
||||
print("Preparing data...")
|
||||
|
||||
baseUrl = "http://" + netifaces.ifaddresses(netifaces.gateways()['default'][netifaces.AF_INET][1])[2][0]['addr'] + ":8080/"
|
||||
baseUrl = netifaces.ifaddresses(netifaces.gateways()['default'][netifaces.AF_INET][1])[2][0]['addr'] + ":8080/"
|
||||
qrData = ""
|
||||
|
||||
if os.path.isfile(directory):
|
||||
|
Loading…
x
Reference in New Issue
Block a user