mirror of
https://github.com/Project-Babble/ProjectBabble.git
synced 2026-11-20 09:01:16 -08:00
remove duplicate function
This commit is contained in:
1 parent
f2ffeeb41e
commit
62635ea5ab
2 files changed
-12
No files matched your search
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user