fix model loading format bleeding into gui
This commit is contained in:
parent
77763da6e2
commit
9582722c2e
|
@ -393,7 +393,8 @@ class Send_to_socketio(object):
|
|||
print(bar, end="")
|
||||
time.sleep(0.01)
|
||||
try:
|
||||
emit('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True)
|
||||
gui_msg = bar.replace(f"{colors.PURPLE}INIT{colors.END} | ","").replace(" ", " ")
|
||||
emit('from_server', {'cmd': 'model_load_status', 'data': gui_msg}, broadcast=True)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue