Files
OF-Scraper/ofscraper/classes/table/inputs/strinput.py
T
2025-10-16 11:03:43 -05:00

10 lines
327 B
Python
Executable File

from ofscraper.classes.table.inputs.filterinput import FilterInput
class StrInput(FilterInput):
def __init__(self, *args, **kwargs):
super().__init__(*args, type="text", **kwargs)
def compare(self, value):
if self.value == "":
return True
return value.lower() == self.value.lower()