0.1.26
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| [metadata] | [metadata] | ||||||
| # replace with your username: | # replace with your username: | ||||||
| name = guan | name = guan | ||||||
| version = 0.1.25 | version = 0.1.26 | ||||||
| author = guanjihuan | author = guanjihuan | ||||||
| author_email = guanjihuan@163.com | author_email = guanjihuan@163.com | ||||||
| description = An open source python package | description = An open source python package | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| Metadata-Version: 2.1 | Metadata-Version: 2.1 | ||||||
| Name: guan | Name: guan | ||||||
| Version: 0.1.25 | Version: 0.1.26 | ||||||
| Summary: An open source python package | Summary: An open source python package | ||||||
| Home-page: https://py.guanjihuan.com | Home-page: https://py.guanjihuan.com | ||||||
| Author: guanjihuan | Author: guanjihuan | ||||||
|   | |||||||
| @@ -43,7 +43,7 @@ def statistics_of_guan_package(): | |||||||
|                 current_version = guan.get_current_version('guan') |                 current_version = guan.get_current_version('guan') | ||||||
|                 client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |                 client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | ||||||
|                 client_socket.settimeout(0.5) |                 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() |                 mac_address = guan.get_mac_address() | ||||||
|                 send_message = datetime_date + ' ' + datetime_time + ' version_'+current_version + ' MAC_address: '+mac_address+' guan.' + message+'\n' |                 send_message = datetime_date + ' ' + datetime_time + ' version_'+current_version + ' MAC_address: '+mac_address+' guan.' + message+'\n' | ||||||
|                 client_socket.send(send_message.encode()) |                 client_socket.send(send_message.encode()) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user