fix: fix log warning (#1192)

This commit is contained in:
陈然 2023-09-04 23:09:54 +08:00 committed by GitHub
parent a669fee786
commit 8d050b6bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -699,10 +699,10 @@ if __name__ == "__main__":
output_devices.index(output_device) output_devices.index(output_device)
] ]
logger.info( logger.info(
"Input device: %s:%d", str(sd.default.device[0]), input_device "Input device: %s:%s", str(sd.default.device[0]), input_device
) )
logger.info( logger.info(
"Output device: %s:%d", str(sd.default.device[1]), output_device "Output device: %s:%s", str(sd.default.device[1]), output_device
) )
gui = GUI() gui = GUI()