add auto get bias addr ,not need input key or wx folder path.
This commit is contained in:
parent
4b694146e7
commit
29584ab35a
15
tests/t2.py
15
tests/t2.py
@ -5,18 +5,3 @@
|
|||||||
# Author: xaoyaoo
|
# Author: xaoyaoo
|
||||||
# Date: 2023/10/21
|
# Date: 2023/10/21
|
||||||
# -------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------
|
||||||
import json
|
|
||||||
|
|
||||||
# from pywxdump import VERSION_LIST
|
|
||||||
|
|
||||||
with open(r'D:\_code\py_code\test\a2023\b0821wxdb\PyWxDump\pywxdump\version_list.json', 'r') as f:
|
|
||||||
VERSION_LIST = json.load(f)
|
|
||||||
|
|
||||||
for version in VERSION_LIST:
|
|
||||||
VERSION_LIST[version] = VERSION_LIST[version] + [0] if len(VERSION_LIST[version]) == 5 else VERSION_LIST[version]
|
|
||||||
|
|
||||||
with open(r'D:\_code\py_code\test\a2023\b0821wxdb\PyWxDump\pywxdump\version_list.json', 'w') as f:
|
|
||||||
json.dump(VERSION_LIST, f, indent=4, ensure_ascii=False)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
pass
|
|
||||||
|
Loading…
Reference in New Issue
Block a user