diff --git a/codegen.py b/codegen.py
index 584d368..2375a6d 100644
--- a/codegen.py
+++ b/codegen.py
@@ -41,6 +41,25 @@ def index():
File size must be below !MAXFILESIZEHERE! MB.
"""
+ elif qrtype == "WIFI":
+ form = f"""
+
+
+ """
else:
form = f"""
Enter Telephone:
@@ -63,11 +82,13 @@ def index():
print(qrtype)
try:
if qrtype == "LINK":
- codeimg = f'
'
elif qrtype == "EMAIL":
- codeimg = f'
'
+ codeimg = f'
'
elif qrtype == "TEL":
codeimg = f'
'
+ elif qrtype == "WIFI":
+ codeimg = f'
'
except:
print("nocontent")
codeimg = " fill out info to generate qr code
"
@@ -105,4 +126,5 @@ def generate_qrcode():
if __name__ == "__main__":
- app.run(host='0.0.0.0', port=8080, debug=True)
+ app.run(host='0.0.0.0', port=8060, debug=True)
+
diff --git a/templates/home.html b/templates/home.html
index 9a2a883..dab1fdb 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -82,6 +82,7 @@
Link
Telephone
Email
+ Wifi
|