remove duplicate function

This commit is contained in:
Rames The Generic committed 2024-10-19 21:16:47 -04:00
1 parent f2ffeeb41e
commit 62635ea5ab
2 files changed
-12

No files matched your search

-1
View File
@@ -8,7 +8,6 @@ from utils.misc_utils import bg_color_highlight, bg_color_clear, is_valid_float_
from lang_manager import LocaleStringManager as lang
class AlgoSettingsWidget:
def __init__(
self, widget_id: Tab, main_config: BabbleSettingsConfig, osc_queue: Queue
-11
View File
@@ -166,17 +166,6 @@ def get_camera_index_by_name(name):
return None
def is_valid_float_input(value):
# Allow empty string, negative sign, or a float number
return bool(re.match(r'^-?\d*\.?\d*$', value))
def is_valid_int_input(value):
# Allow empty string, negative sign, or an integer number
return bool(re.match(r'^-?\d*$', value))
# def get_serial_port(name):
# for i, device in enumerate(cam_list):
# Placeholder for sound functions on Windows
def PlaySound(*args, **kwargs):