fix: set C locale for mpv compatibility
This commit is contained in:
1 parent
a72cf4ad9c
commit
7f03ba1ec4
1 file changed
+3
-1
+3
-1
@@ -22,9 +22,11 @@ Usage:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import annotations
|
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
|
import numpy as np
|
||||||
|
|
||||||
|
locale.setlocale(locale.LC_NUMERIC, "C")
|
||||||
|
|
||||||
warnings.filterwarnings("ignore", category=RuntimeWarning, module="pyqtgraph")
|
warnings.filterwarnings("ignore", category=RuntimeWarning, module="pyqtgraph")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in new issue
Block a user