MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / get_env_variable

Function get_env_variable

wxapp/quanmianshidai.py:34–42  ·  view source on GitHub ↗
(var_name)

Source from the content-addressed store, hash-verified

32 return dqsj, dysj
33
34def get_env_variable(var_name):
35 value = os.getenv(var_name)
36 if value is None:
37 print(f'环境变量{var_name}未设置,请检查。')
38 return None
39 accounts = value.strip().split('\n')
40 print(f'-----------本次账号运行数量:{len(accounts)}-----------')
41 print(f'------全棉时代种棉花-----1.2------')
42 return accounts
43
44def create_headers(code, token):
45 headers = {

Callers 1

mainFunction · 0.85

Calls 1

printFunction · 0.50

Tested by

no test coverage detected