Update embedded_python_env.py

This commit is contained in:
2Shirt 2023-09-23 16:27:34 -07:00
parent 868932c5e4
commit 484f13dc29
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -5,9 +5,17 @@ python.exe -i embedded_python_env.py
"""
# vim: sts=2 sw=2 ts=2
import pickle
import wk
# Functions
def load_state():
with open('debug/state.pickle', 'rb') as f:
return pickle.load(f)
# Main
wk.ui.cli.print_colored(
(wk.cfg.main.KIT_NAME_FULL, ': ', 'Debug Console'),
('GREEN', None, 'YELLOW'),