mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-08-26 16:29:46 +08:00
Add extra print output to servefiles.
This commit is contained in:
parent
86057c3fc0
commit
a53bd8b8e3
@ -66,10 +66,12 @@ thread = threading.Thread(target=server.serve_forever)
|
||||
thread.start()
|
||||
atexit.register(server.shutdown)
|
||||
|
||||
print("Displaying QR code...")
|
||||
print("Generating QR code...")
|
||||
|
||||
qrImage = qrcode.make(qrData)
|
||||
|
||||
print("Displaying QR code...")
|
||||
|
||||
root = Tk()
|
||||
root.title("QR Code")
|
||||
|
||||
@ -82,4 +84,6 @@ qrLabel.pack()
|
||||
|
||||
root.mainloop()
|
||||
|
||||
print("Shutting down HTTP server...")
|
||||
|
||||
server.shutdown()
|
||||
|
Loading…
x
Reference in New Issue
Block a user