fix: set C locale for mpv compatibility

This commit is contained in:
Honney OC committed 2026-09-13 23:42:44 +00:00
1 parent a72cf4ad9c
commit 7f03ba1ec4
1 file changed
+3 -1
+3 -1
View File
@@ -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: