This commit is contained in:
guanjihuan 2023-11-19 06:38:46 +08:00
parent ba84585e12
commit b92eae841e
3 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[metadata] [metadata]
# replace with your username: # replace with your username:
name = guan name = guan
version = 0.1.38 version = 0.1.39
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

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.1 Metadata-Version: 2.1
Name: guan Name: guan
Version: 0.1.38 Version: 0.1.39
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

View File

@ -45,7 +45,6 @@ def run(function_name, args=(), return_show=0, get_print=1):
import json import json
import guan import guan
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as client_socket: with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as client_socket:
client_socket.settimeout(15)
client_socket.connect(('socket.guanjihuan.com', 12345)) client_socket.connect(('socket.guanjihuan.com', 12345))
function_source = guan.get_function_source(function_name) function_source = guan.get_function_source(function_name)
message = { message = {