-
Notifications
You must be signed in to change notification settings - Fork 5
/
config_function.py
34 lines (29 loc) · 1 KB
/
config_function.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Source Generated with Decompyle++
# File: config_function.pyc (Python 3.9)
import configparser
import os
def read_config(cookie_type=(None,)):
config = configparser.ConfigParser()
with open(
os.path.join(os.getcwd(), "config.ini"), "r", "utf-8-sig", **("encoding",)
) as f:
config.read_file(f)
zcsuper_cookie = config.get("DEFAULT", "zcsuper_Cookie", raw=True)
zcsuper_key = config.get("DEFAULT", "zcsuper_key")
zcsuper_uuid = config.get("DEFAULT", "zcsuper_uuid")
zcsuper_eid = config.get("DEFAULT", "zcsuper_eid")
zcsuper_uts = config.get("DEFAULT", "zcsuper_uts")
zcsuper_area = config.get("DEFAULT", "zcsuper_area")
zcsuper_sku = config.get("DEFAULT", "zcsuper_sku")
zcsuper_user_killTime = config.get("DEFAULT", "zcsuper_user_killTime")
return (
zcsuper_cookie,
zcsuper_key,
zcsuper_uuid,
zcsuper_eid,
zcsuper_uts,
zcsuper_area,
zcsuper_sku,
zcsuper_user_killTime,
)
read_config()