Skip to content

Commit 62635ea

Browse files
remove duplicate function
1 parent f2ffeeb commit 62635ea

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

BabbleApp/algo_settings_widget.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from lang_manager import LocaleStringManager as lang
99

1010

11-
1211
class AlgoSettingsWidget:
1312
def __init__(
1413
self, widget_id: Tab, main_config: BabbleSettingsConfig, osc_queue: Queue

BabbleApp/utils/misc_utils.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -166,17 +166,6 @@ def get_camera_index_by_name(name):
166166

167167
return None
168168

169-
def is_valid_float_input(value):
170-
# Allow empty string, negative sign, or a float number
171-
return bool(re.match(r'^-?\d*\.?\d*$', value))
172-
173-
def is_valid_int_input(value):
174-
# Allow empty string, negative sign, or an integer number
175-
return bool(re.match(r'^-?\d*$', value))
176-
177-
# def get_serial_port(name):
178-
# for i, device in enumerate(cam_list):
179-
180169

181170
# Placeholder for sound functions on Windows
182171
def PlaySound(*args, **kwargs):

0 commit comments

Comments
 (0)