Ver Fonte

【优化】端口显示

PJ-568 há 2 anos atrás
pai
commit
9eab71eb83
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      server.py

+ 1 - 1
server.py

@@ -88,6 +88,6 @@ if __name__ == '__main__':
             print(f'Error loading SSL certificate or key: {e}')
             print(f'Continuing with HTTP server on port {args.port}')
     else:
-        print('Certificate or key files not found. Continuing with HTTP service.')
+        print(f'Certificate or key files not found. Continuing with HTTP service on port {args.port}')
 
     httpd.serve_forever()