Replace remaining prints with logging.info calls
This commit is contained in:
parent
527991beea
commit
92d6579c83
@ -767,10 +767,10 @@ def main():
|
||||
httpd = make_server(config['host'], int(config['port']), ankiserver)
|
||||
|
||||
try:
|
||||
print("Serving HTTP on {} port {}...".format(*httpd.server_address))
|
||||
logging.info("Serving HTTP on {} port {}...".format(*httpd.server_address))
|
||||
httpd.serve_forever()
|
||||
except KeyboardInterrupt:
|
||||
print("Exiting...")
|
||||
logging.info("Exiting...")
|
||||
finally:
|
||||
shutdown()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user