This commit is contained in:
guanjihuan 2023-11-14 14:55:22 +08:00
parent 19760d4581
commit 93be3c0dc6
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[metadata]
# replace with your username:
name = guan
version = 0.1.25
version = 0.1.26
author = guanjihuan
author_email = guanjihuan@163.com
description = An open source python package

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: guan
Version: 0.1.25
Version: 0.1.26
Summary: An open source python package
Home-page: https://py.guanjihuan.com
Author: guanjihuan

View File

@ -43,7 +43,7 @@ def statistics_of_guan_package():
current_version = guan.get_current_version('guan')
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
client_socket.settimeout(0.5)
client_socket.connect(('py.guanjihuan.com', 12345))
client_socket.connect(('socket.guanjihuan.com', 12345))
mac_address = guan.get_mac_address()
send_message = datetime_date + ' ' + datetime_time + ' version_'+current_version + ' MAC_address: '+mac_address+' guan.' + message+'\n'
client_socket.send(send_message.encode())