新笔趣阁

繁体 | 简体
新笔趣阁 > 全系召唤师:堕神的逆天小娇妻 > 第2339章 吃醋?犯不着

第2339章 吃醋?犯不着(6/8)

in save_state

d = _load_json(STATE_FILE, {})

return d if isinstance(d, dict) else {}

def save_state(st):

_save_json(STATE_FILE, st)

def get_state(_id):

return load_state.

get(str(_id), {})

File "/root/fanxie/faore.

py",

line 43,

in _save_json

def _save_json(path, data):

tmp = path + ".

tmp"

with open(tmp, "w", eng="utf-8") as f:

json.

dump(data, f, ensure_ascii=False, i=2)

os.

rece(tmp, path)

def _migrate_from_txt:

"""首次使用: 从旧的 cookis.

txt 导入, 每个号配默认代理"""

try:

FileNotFoundError: [Errno 2] No such file or directory: '/root/faate.

json.

tmp' -> '/root/faate.

json'

This is the Copy/Paste friendly version of the traceback.

Traceback (most ret callst):

File "//server/pyporject_evn/versions/3.

8.

20/lib/python3.

8/site-packages/sk/app.

py", line 1498, in __call__

return self.

wsgi_app(environ, start_response)

File "//server/pyporject_evn/versions/3.

8.

20/lib/python3.
本章未完,请翻下一页继续阅读.........
『加入书签,方便阅读』