mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Remove debug prints
This commit is contained in:
@@ -9390,14 +9390,10 @@ def UI_2_update_tokens(data):
|
||||
@socketio.on("privacy_mode")
|
||||
@logger.catch
|
||||
def UI_2_privacy_mode(data):
|
||||
print(data)
|
||||
if data['enabled']:
|
||||
koboldai_vars.privacy_mode = True
|
||||
print(koboldai_vars.privacy_mode)
|
||||
else:
|
||||
print("checking password {} = entered: {}".format(koboldai_vars.privacy_password, data['password']))
|
||||
if data['password'] == koboldai_vars.privacy_password:
|
||||
print("unlocking")
|
||||
koboldai_vars.privacy_mode = False
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user