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 27a1fc7851
commit 4c8ac4f9b7
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: