From 4c8ac4f9b73e8624d139bd96ac10137656725102 Mon Sep 17 00:00:00 2001 From: Honney OC Date: Sun, 13 Sep 2026 23:42:44 +0000 Subject: [PATCH] fix: set C locale for mpv compatibility --- verify_sync.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/verify_sync.py b/verify_sync.py index 611ad8c..636dbfd 100644 --- a/verify_sync.py +++ b/verify_sync.py @@ -22,9 +22,11 @@ Usage: """ from __future__ import annotations -import os, sys, math, argparse, subprocess, json, shutil, threading, tempfile, warnings +import os, sys, math, argparse, subprocess, json, shutil, threading, tempfile, warnings, locale import numpy as np +locale.setlocale(locale.LC_NUMERIC, "C") + warnings.filterwarnings("ignore", category=RuntimeWarning, module="pyqtgraph") try: