ログオン時にデバイスが0番になるバグを修正

This commit is contained in:
suti7yk5032 2024-10-18 13:50:50 +09:00
parent 6e49fc5431
commit c7c8da46ed

View file

@ -393,7 +393,7 @@ def verify():
if pc_auth["result"] == 0:
auth.delete(pc_number)
auth.device_use_register(pc_number=pc_number, keyboard_number=pc_auth["output_dict"]["keyboard_number"], mouse_number=pc_auth["output_dict"]["mouse_number"])
#auth.device_use_register(pc_number=pc_number, keyboard_number=pc_auth["output_dict"]["keyboard_number"], mouse_number=pc_auth["output_dict"]["mouse_number"])
print(str(pc_number) + "の認証処理は成功しました.")
return jsonify({'message': 'ok'}), 200
elif pc_auth["result"] == 1: