mirror of https://github.com/sc0tfree/updog.git
removed padding from code
This commit is contained in:
parent
2e15a5c727
commit
138f87f444
|
@ -54,8 +54,6 @@ def parse_arguments():
|
|||
return args
|
||||
|
||||
|
||||
|
||||
|
||||
def main():
|
||||
args = parse_arguments()
|
||||
|
||||
|
@ -193,10 +191,9 @@ def main():
|
|||
|
||||
QR_link = f"http://{get_interface_ip(socket.AF_INET)}:{args.port}/"
|
||||
QR_encoding = pyqrcode.create(QR_link)
|
||||
print(QR_encoding.terminal(quiet_zone=1))
|
||||
print(QR_encoding.terminal(quiet_zone=0))
|
||||
run_simple("0.0.0.0", int(args.port), app, ssl_context=ssl_context)
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Reference in New Issue